OFFSET
2,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..1000
FORMULA
a(n) = [x^n y^2] Product_{j>=1} 1/(1-y*x^j)^A000009(j).
MAPLE
g:= proc(n) option remember; `if`(n=0, 1, add(add(`if`(d::odd,
d, 0), d=numtheory[divisors](j))*g(n-j), j=1..n)/n)
end:
b:= proc(n, i) option remember; series(`if`(n=0, 1, `if`(i<1, 0,
add(b(n-i*j, i-1)*x^j*binomial(g(i)+j-1, j), j=0..n/i))), x, 3)
end:
a:= n-> coeff(b(n$2), x, 2):
seq(a(n), n=2..60);
MATHEMATICA
g[n_] := g[n] = If[n == 0, 1, Sum[Sum[If[OddQ[d], d, 0], {d, Divisors[j]}]* g[n - j], {j, 1, n}]/n];
b[n_, i_] := b[n, i] = Series[If[n == 0, 1, If[i < 1, 0, Sum[b[n - i*j, i - 1]*x^j*Binomial[g[i] + j - 1, j], {j, 0, n/i}]]], {x, 0, 3}];
a[n_] := SeriesCoefficient[b[n, n], {x, 0, 2}];
a /@ Range[2, 60] (* Jean-François Alcover, Dec 14 2020, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Oct 21 2018
STATUS
approved