OFFSET
1,5
COMMENTS
LINKS
Alois P. Heinz, Rows n = 1..150, flattened
FORMULA
E.g.f.: G(t,z) = (1-exp(-tz))/(1-z)^t.
EXAMPLE
T(4,2) = 8 because we have (1)(234), (1)(243), (134)(2), (143)(2), (124)(3), (142)(3), (123)(4), and (132)(4).
Triangle starts:
1;
0, 1;
0, 3, 1;
0, 8, 6, 1;
0, 30, 35, 10, 1;
0, 144, 210, 85, 15, 1;
...
MAPLE
G := (1-exp(-t*z))/(1-z)^t: Gser := simplify(series(G, z = 0, 15)): for n to 11 do P[n] := sort(expand(factorial(n)*coeff(Gser, z, n))) end do: for n to 11 do seq(coeff(P[n], t, j), j = 1 .. n) end do; # yields sequence in triangular form
# second Maple program:
b:= proc(n, t) option remember; `if`(n=0, t, add(expand((j-1)!*
b(n-j, `if`(j=1, 1, t))*x)*binomial(n-1, j-1), j=1..n))
end:
T:= n-> (p-> seq(coeff(p, x, i), i=1..n))(b(n, 0)):
seq(T(n), n=1..12); # Alois P. Heinz, Aug 15 2023
MATHEMATICA
b[n_, t_] := b[n, t] = If[n == 0, t, Sum[Expand[(j - 1)!*b[n - j, If[j == 1, 1, t]]*x]*Binomial[n - 1, j - 1], {j, 1, n}]];
T[n_] := CoefficientList[b[n, 0]/x, x];
Table[T[n], {n, 1, 12}] // Flatten (* Jean-François Alcover, Apr 04 2024, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Jul 22 2009
STATUS
approved