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”).

A294574
Numbers having exactly one representation as sum of squares of primes.
0
4, 8, 9, 12, 13, 16, 17, 18, 20, 21, 22, 24, 26, 27, 28, 30, 31, 32, 35, 39
OFFSET
1,1
FORMULA
A090677(a(n)) = 1.
MATHEMATICA
Flatten[Position[Rest[CoefficientList[Series[Product[1/(1 - x^(Prime[k]^2)), {k, 1, 5}], {x, 0, 40}], x]], 1]]
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Ilya Gutkovskiy, Nov 02 2017
STATUS
approved