OFFSET
0,5
COMMENTS
LINKS
Alois P. Heinz, Rows n = 0..200, flattened
FORMULA
E.g.f.: G(t,z) = exp(z(tz-z-2)/2)/(1-z).
EXAMPLE
T(4,2)=3 because we have (12)(34), (13)(24), and (14)(23).
Triangle starts:
1;
0;
0, 1;
2, 0;
6, 0, 3;
24, 20, 0;
160, 90, 0, 15;
...
MAPLE
G := exp((1/2)*z*(t*z-z-2))/(1-z): Gser := simplify(series(G, z = 0, 16)): for n from 0 to 13 do P[n] := sort(expand(factorial(n)*coeff(Gser, z, n))) end do: for n from 0 to 13 do seq(coeff(P[n], t, j), j = 0 .. floor((1/2)*n)) end do;
# second Maple program:
b:= proc(n) option remember; expand(`if`(n=0, 1, add((j-1)!*
`if`(j=2, x, 1)*b(n-j)*binomial(n-1, j-1), j=2..n)))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=0..n/2))(b(n)):
seq(T(n), n=0..14); # Alois P. Heinz, Jan 27 2022
MATHEMATICA
b[n_] := b[n] = Expand[If[n == 0, 1, Sum[(j - 1)!*If[j == 2, x, 1]*b[n - j]*Binomial[n - 1, j - 1], {j, 2, n}]]];
T[n_] := With[{p = b[n]}, Table[Coefficient[p, x, i], {i, 0, n/2}]];
Table[T[n], {n, 0, 14}] // Flatten (* Jean-François Alcover, Sep 17 2024, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Jul 22 2009
STATUS
approved