login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A307881
2*a(n) is the least number where k sets a new record such that 2*a(n)-k and 2*a(n)+k are prime and at least one of 2*a(n)-j and 2*a(n)+j is composite for all 0<j<k.
2
2, 4, 11, 23, 64, 68, 73, 119, 143, 172, 263, 452, 557, 868, 1238, 1579, 2864, 3533, 3637, 4252, 5171, 9263, 11282, 12388, 20036, 59119, 69332, 90131, 113783, 139283, 178612, 185714, 413788, 468059, 579932, 960707, 1879582, 2727031, 3266951, 3319868, 3591593
OFFSET
1,1
COMMENTS
The corresponding records of k are given in A307882.
LINKS
PROG
(PARI) kmax=0; for(n=2, 10^7, forstep(k=1, n, 2, if(isprime(2*n-k)&&isprime(2*n+k), if(k>kmax, print1(n, ", "); kmax=k); break(1))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, May 03 2019
STATUS
approved