OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..200
MAPLE
b:= proc(n, s) option remember; expand(`if`(n>s,
binomial(n-1, n-s-1)*x, 1)+add(binomial(n-1, j-1)*
b(n-j, s+j)*binomial(s+j-1, j-1), j=1..(n-s)/2)*x^2)
end:
a:= n-> coeff(b(2*n+1, 0), x, n+irem(n+1, 2)):
seq(a(n), n=0..20);
MATHEMATICA
b[n_, s_] := b[n, s] = Expand[If[n > s, Binomial[n - 1, n - s - 1] x, 1] + Sum[Binomial[n - 1, j - 1] b[n - j, s + j] Binomial[s + j - 1, j - 1], {j, 1, (n - s)/2}] x^2];
a[n_] := Coefficient[b[2n + 1, 0], x, n + Mod[n + 1, 2]];
a /@ Range[0, 20] (* Jean-François Alcover, Dec 08 2020, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 27 2018
STATUS
approved