[go: up one dir, main page]

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

A302234
Expansion of Product_{k>=1} (1 - x^k)/(1 - x^prime(k)).
2
1, -1, 0, 0, -1, 1, -1, 1, -1, 0, 1, 0, 0, 1, 0, -1, 1, 0, 0, 0, 0, -1, 1, -1, 1, -2, 1, -1, 0, 1, -1, 1, -2, 2, -1, -1, 2, -1, -1, 2, -2, 2, -1, 1, 0, -1, 1, 0, 1, -2, 2, 0, 0, 2, -1, 0, 0, 1, 0, 0, 1, -2, 0, -1, 0, 0, -2, 2, -3, 0, 2, -2, 1, -1, 1, -2, 1, -1, -1, 1
OFFSET
0,26
COMMENTS
The difference between the number of partitions of n into an even number of distinct nonprime parts and the number of partitions of n into an odd number of distinct nonprime parts.
Convolution of the sequences A000607 and A010815.
FORMULA
G.f.: Product_{k>=1} (1 - x^A018252(k)).
MATHEMATICA
nmax = 80; CoefficientList[Series[Product[(1 - x^k)/(1 - x^Prime[k]), {k, 1, nmax}], {x, 0, nmax}], x]
nmax = 80; CoefficientList[Series[Product[(1 - Boole[!PrimeQ[k]] x^k), {k, 1, nmax}], {x, 0, nmax}], x]
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Apr 03 2018
STATUS
approved