login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A309269
Numbers that are the sum of two successive prime powers.
0
3, 5, 7, 9, 12, 15, 17, 20, 24, 29, 33, 36, 42, 48, 52, 56, 60, 63, 69, 78, 84, 90, 96, 102, 112, 120, 125, 131, 138, 144, 152, 160, 164, 172, 186, 198, 204, 210, 216, 222, 234, 246, 252, 255, 259, 268, 276, 288, 300, 308, 320, 330, 336, 342, 352, 360, 372, 384, 390, 396
OFFSET
1,1
FORMULA
a(n) = A000961(n) + A000961(n+1).
MATHEMATICA
Join[{3}, Total /@ Partition[Select[Range[200], PrimePowerQ], 2, 1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 20 2019
STATUS
approved