OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..190
FORMULA
a(n) = A285824(2n,n).
MAPLE
b:= proc(n, i, p) option remember; expand(`if`(n=0 or i=1,
(p+n)!/n!*x^n, add(x^j*b(n-i*j, i-1, p+j)*combinat
[multinomial](n, n-i*j, i$j)/j!^2, j=0..n/i)))
end:
a:= n-> coeff(b(2*n$2, 0), x, n):
seq(a(n), n=0..20);
MATHEMATICA
multinomial[n_, k_List] := n!/Times @@ (k!);
b[n_, i_, p_] := b[n, i, p] = Expand[If[n == 0 || i == 1, (p + n)!/n! x^n, Sum[b[n - i j, i - 1, p + j] x^j multinomial[n, Join[{n - i j}, Table[i, j]]]/j!^2, {j, 0, n/i}]]];
a[n_] := Coefficient[b[2n, 2n, 0], x, n];
a /@ Range[0, 20] (* Jean-François Alcover, Dec 08 2020, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Apr 28 2017
STATUS
approved