login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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
Sequence in context: A228398 A228394 A245749 * A001434 A119098 A294706
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)