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.
2, 2, 7, 3, 3, 7, 7, 7, 11, 2, 19, 5, 5, 2, 13, 5, 5, 7, 11
Offset: 1
Examples
A342439(2) = 41 = 2 + 3 + 5 + 7 + 11 + 13 hence a(2) = 2.
Links
- Archive.today, trizen / experimental-projects.
- Dreamshire, Project Euler 50 Solution.
- Project Euler, Problem 50: Consecutive prime sum.
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
Comments