VOOZH
about
URL: https://oeis.org/A342440
⇱ A342440 - OEIS
login
A342440
The longest length of consecutive primes which sums to prime =
A342439
(n) < 10^n.
5
2, 6, 21, 65, 183, 543, 1587, 4685, 13935, 41708, 125479, 379317, 1150971, 3503790, 10695879, 32729271, 100361001, 308313167, 948694965
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,1
COMMENTS
Inspired by the 50th problem of Project Euler (see link).
The corresponding largest primes obtained are in
A342439
.
Solutions and Python program are proposed in Dreamshire and archive.today links. -
Daniel Suteu
, Mar 12 2021
LINKS
Table of n, a(n) for n=1..19.
Archive.today,
trizen / experimental-projects
.
Dreamshire,
Project Euler 50 Solution
.
Project Euler,
Problem 50: Consecutive prime sum
.
EXAMPLE
A342439
(1) = 5 = 2+3, hence a(1) = 2 since there are 2 terms in this longest sum.
A342439
(2) = 41 = 2 + 3 + 5 + 7 + 11 + 13 hence a(2) = 6 since there are 6 terms in this longest sum.
CROSSREFS
Cf.
A342439
,
A342443
,
A342444
.
Sequence in context:
A228398
A228394
A245749
*
A001434
A119098
A294706
Adjacent sequences:
A342437
A342438
A342439
*
A342441
A342442
A342443
KEYWORD
nonn
,
more
AUTHOR
Bernard Schott
, Mar 12 2021
EXTENSIONS
a(4)-a(17) from
Daniel Suteu
, Mar 12 2021
a(18)-a(19) from
Martin Ehrenstein
, Mar 13 2021
STATUS
approved