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”).

A337438
a(n) is the index k of prime(k), such that abs(prime(k) - Sum_{j=k-2..k+2} prime(j)) sets a new record. A337439 are the corresponding primes.
3
3, 4, 8, 15, 25, 29, 30, 46, 154, 190, 206, 217, 1183, 1410, 1664, 1832, 2225, 2810, 3385, 14358, 30802, 31545, 40933, 104071, 104072, 118506, 149689, 325853, 1094422, 1319945, 2850174, 2850175, 6957876, 10539433, 22749705, 23163299, 72507381, 182837804, 415271758, 486570087
OFFSET
1,1
EXAMPLE
See A337489.
PROG
(PARI) See A337439, replace p4 by primepi(p4) in call of print1.
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Aug 29 2020
STATUS
approved