OFFSET
1,2
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
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 08 2023
STATUS
approved