OFFSET
0,26
COMMENTS
Number of partitions of n into distinct proper prime powers (A246547).
LINKS
Eric Weisstein's World of Mathematics, Prime Power
FORMULA
G.f.: Product_{p prime, k>=2} (1 + x^(p^k)).
EXAMPLE
a(25) = 2 because we have [25] and [16, 9].
MATHEMATICA
nmax = 107; CoefficientList[Series[Product[(1 + Sign[PrimeOmega[k] - 1] Floor[1/PrimeNu[k]] x^k), {k, 2, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 06 2017
STATUS
approved