OFFSET
0,5
LINKS
Peter Luschny, The P-transform.
FORMULA
T(n,k) = binomial(n,k)*Sum_{i=0..k} binomial(k,i)*A268438(n-k,i).
T(n,k) = binomial(-k,-n)*Sum_{i=0..n-k} binomial(-n,i)*A268437(n-k,i).
T(n,k) = 4^(n-k)*Gamma(n-k+1/2)*A132393(n,k)/sqrt(Pi).
T(n,1) = (2*n-2)! for n>=1.
T(n,n-1) = (n-1)*n for n>=1.
Recurrence: T(n,k) = 1 if k=n; 0 if k=0; and otherwise (n-1)*(4*(n-k)-2)*T(n-1,k) + T(n-1,k-1).
EXAMPLE
[1]
[0, 1]
[0, 2, 1]
[0, 24, 6, 1]
[0, 720, 132, 12, 1]
[0, 40320, 6000, 420, 20, 1]
[0, 3628800, 460320, 27000, 1020, 30, 1]
[0, 479001600, 53343360, 2728320, 88200, 2100, 42, 1]
MAPLE
T := (n, k) -> pochhammer(n-k+1, n-k)*abs(Stirling1(n, k)):
for n from 0 to 9 do seq(T(n, k), k=0..n) od;
# Alternatively:
T := proc(n, k) option remember;
`if`( n=k, 1,
`if`( k=0, 0,
(n-1)*(4*(n-k)-2)*T(n-1, k)+T(n-1, k-1))) end:
for n from 0 to 7 do seq(T(n, k), k=0..n) od;
MATHEMATICA
T[n_, k_] := Pochhammer[n-k+1, n-k] Abs[StirlingS1[n, k]];
Table[T[n, k], {n, 0, 9}, {k, 0, n}] // Flatten (* Jean-François Alcover, Jul 12 2019 *)
PROG
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Mar 07 2016
STATUS
approved