OFFSET
1,1
COMMENTS
LINKS
Alexei Kourbatov, Table of n, a(n) for n = 1..37
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 + 7 are 7 and 17, so a(1)=17. The next prime of this form is 37 and the gap 37-17=20 is a new record, so a(2)=37.
PROG
(PARI) re=0; s=7; forprime(p=17, 1e8, if(p%10!=7, next); g=p-s; if(g>re, re=g; print1(p", ")); s=p)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexei Kourbatov, Feb 20 2016
STATUS
approved