OFFSET
0,6
COMMENTS
Number of ordered ways of writing n as the sum of two prime powers (1 excluded).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Prime Power
FORMULA
G.f.: (Sum_{k>=2} floor(1/omega(k))*x^k)^2.
EXAMPLE
a(6) = 3 because we have [4, 2], [3, 3] and [2, 4].
MATHEMATICA
nmax = 97; CoefficientList[Series[(Sum[Floor[1/PrimeNu[k]] x^k, {k, 2, nmax}])^2, {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 29 2016
STATUS
approved