login
A269521
Primes 8k + 7 at the end of the maximal gaps in A269519.
3
23, 71, 311, 359, 599, 6551, 37423, 42703, 66751, 183823, 259583, 308263, 471391, 1071023, 1801727, 5904247, 6886367, 16936991, 22414079, 38821039, 63978127, 84165271, 147453599, 150335431, 239423519, 300412927, 387155903, 473154943, 539527199, 760401839, 788129191
OFFSET
1,1
COMMENTS
Subsequence of A007522.
A269519 lists the corresponding record gap sizes. See more comments there.
LINKS
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 8k + 7 are 7 and 23, so a(1)=23. The next primes of this form are 31, 47; the gaps 31-23 and 47-31 are not records so nothing is added to the sequence. The next prime of this form is 71 and the gap 71-47=24 is a new record, so a(2)=71.
PROG
(PARI) re=0; s=7; forprime(p=23, 1e8, if(p%8!=7, next); g=p-s; if(g>re, re=g; print1(p", ")); s=p)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexei Kourbatov, Feb 28 2016
STATUS
approved