OFFSET
1,3
FORMULA
Recurrence: a(n+1) = (1/n) * Sum_{k=1..n} ( Sum_{d|k} (-d)^(k/d+1)*a(d) ) * a(n-k+1).
MATHEMATICA
a[n_] := a[n] = SeriesCoefficient[x Product[(1 + k x^k)^a[k], {k, 1, n - 1}], {x, 0, n}]; Table[a[n], {n, 1, 22}]
a[n_] := a[n] = Sum[Sum[(-d)^(k/d + 1) a[d], {d, Divisors[k]}] a[n - k], {k, 1, n - 1}]/(n - 1); a[1] = 1; Table[a[n], {n, 1, 22}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 15 2019
STATUS
approved