A302236 Expansion of Product_{k>=1} (1 + x^prime(k))/(1 + x^k).
1, -1, 1, -1, 0, 0, -1, 1, -1, 0, 0, 0, 0, 1, -1, 1, 0, 0, 1, 0, 0, 0, -1, 1, 0, -1, 1, -2, 1, 0, 0, 2, -1, 0, 0, -1, 2, -1, -1, 1, -2, 1, 0, 0, 0, -2, -1, 2, 0, 0, 1, -3, 2, -1, 1, 2, -2, -1, -1, 1, 3, 0, -2, 1, -2, 0, 3, 0, 0, -2, -2, 5, 1, 1, -1, -4, 1, -1, 2, 4, -2
Offset: 0
Keywords
Programs
-
Mathematica
nmax = 80; CoefficientList[Series[Product[(1 + x^Prime[k])/(1 + x^k), {k, 1, nmax}], {x, 0, nmax}], x] nmax = 80; CoefficientList[Series[Product[1/(1 + Boole[!PrimeQ[k]] x^k), {k, 1, nmax}], {x, 0, nmax}], x]
Formula
G.f.: Product_{k>=1} 1/(1 + x^A018252(k)).
Comments