OFFSET
0,4
FORMULA
G.f.: exp(Sum_{k>=1} (-1)^k*x^(2*k)/(k*(1 - x^k)^2)).
MAPLE
a:=series(mul(1/(1+x^k)^(k-1), k=1..100), x=0, 51): seq(coeff(a, x, n), n=0..50); # Paolo P. Lava, Apr 02 2019
MATHEMATICA
nmax = 50; CoefficientList[Series[Product[1/(1 + x^k)^(k - 1), {k, 1, nmax}], {x, 0, nmax}], x]
nmax = 50; CoefficientList[Series[Exp[Sum[(-1)^k x^(2 k)/(k (1 - x^k)^2), {k, 1, nmax}]], {x, 0, nmax}], x]
a[n_] := a[n] = If[n == 0, 1, Sum[Sum[(-1)^(k/d) d (d - 1), {d, Divisors[k]}] a[n - k], {k, 1, n}]/n]; Table[a[n], {n, 0, 50}]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Sep 10 2018
STATUS
approved