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

A342453
When A342439(n) is the largest prime < 10^n obtained with the longest sum of the A342440(n) consecutive primes, then a(n) is the first prime of these A342440(n) consecutive primes.
4
2, 2, 7, 3, 3, 7, 7, 7, 11, 2, 19, 5, 5, 2, 13, 5, 5, 7, 11
OFFSET
1,1
COMMENTS
Inspired by the 50th problem of Project Euler (see link).
There must be at least two consecutive primes in the sum.
The terms a(4)-a(17) come from the Perl program and the results proposed by Daniel Suteu in the link Archive.today.
EXAMPLE
A342439(2) = 41 = 2 + 3 + 5 + 7 + 11 + 13 hence a(2) = 2.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Bernard Schott, Mar 14 2021
EXTENSIONS
a(4)-a(17) from Daniel Suteu, Mar 14 2021
a(18)-a(19) from Martin Ehrenstein, Mar 14 2021
a(7) and a(15) corrected by Martin Ehrenstein, Mar 14 2021
STATUS
approved