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!)
A364796 Numbers k such that the sum of the first k prime powers (not including 1) is a prime power. 1
1, 2, 3, 6, 8, 13, 18, 20, 22, 37, 41, 43, 46, 62, 87, 89, 95, 99, 111, 115, 118, 124, 130, 146, 150, 160, 164, 168, 180, 192, 201, 205, 211, 221, 263, 283, 287, 315, 339, 352, 356, 364, 396, 398, 408, 418, 434, 442, 450, 476, 508, 512, 526, 534, 536, 548, 556, 582 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
8 is a term because the sum of the first 8 prime powers 2 + 3 + 4 + 5 + 7 + 8 + 9 + 11 = 49 is a prime power.
MATHEMATICA
Position[Accumulate[Select[Range[4000], PrimePowerQ]], _?PrimePowerQ, Heads -> False] // Flatten
CROSSREFS
Sequence in context: A251260 A022943 A068491 * A239952 A353902 A240076
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 08 2023
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 May 4 02:59 EDT 2024. Contains 372225 sequences. (Running on oeis4.)