OFFSET
0,25
COMMENTS
The difference between the number of partitions of n into an even number of distinct prime parts (including 1) and the number of partitions of n into an odd number of distinct prime parts (including 1).
Convolution inverse of A034891.
FORMULA
G.f.: (1 - x)*Product_{k>=1} (1 - x^prime(k)).
MATHEMATICA
nmax = 82; CoefficientList[Series[(1 - x) Product[(1 - x^Prime[k]), {k, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jan 22 2018
STATUS
approved