OFFSET
0,5
FORMULA
O.g.f.: Product_{n>=1} (y/(1 - x^n) - y + 1)^A005195(n).
EXAMPLE
1,
0, 1,
0, 2,
0, 2, 1,
0, 4, 2,
0, 4, 6,
0, 9, 10, 1,
0, 12, 22, 3,
0, 27, 40, 9,
0, 49, 80, 24,
0, 111, 163, 53, 2.
MATHEMATICA
nn = 25; f[x_] := Sum[a[n] x^n, {n, 0, nn}]; sol = SolveAlways[0 == Series[ f[x] - x Product[1/(1 - x^i)^a[i], {i, 1, nn}], {x, 0, nn}], x]; r[x_] := Sum[a[n] x^n, {n, 0, nn}] /. sol; b = Drop[Flatten[CoefficientList[Series[r[x] - 1/2 (r[x]^2 - r[x^2]), {x, 0, nn}], x]], 1]; h[list_] := Prepend[Select[list, # > 0 &], 0];
Prepend[Drop[Map[h, CoefficientList[Series[Product[(y/(1 - x^k) - y + 1)^b[[k]], {k, 1, nn}], {x, 0, nn}], {x, y}]], 1], {1}] // Grid
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Geoffrey Critzer, Jul 10 2020
STATUS
approved