OFFSET
1,1
COMMENTS
LINKS
Alexei Kourbatov, Table of n, a(n) for n = 1..35
Alexei Kourbatov and Marek Wolf, Predicting maximal gaps in sets of primes, arXiv preprint arXiv:1901.03785 [math.NT], 2019.
EXAMPLE
The first two primes of the form 10k + 3 are 3 and 13, so a(1)=3. The next prime of this form is 23; the gap 23-13 is not a record so nothing is added to the sequence. The next prime of this form is 43 and the gap 43-23=20 is a new record, so a(2)=23.
PROG
(PARI) re=0; s=3; forprime(p=13, 1e8, if(p%10!=3, next); g=p-s; if(g>re, re=g; print1(s", ")); s=p)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexei Kourbatov, Feb 20 2016
STATUS
approved