OFFSET
0,2
COMMENTS
FORMULA
T(0, k)=(k+1)!, T(n+1, n)=(n+1)^(n+1), T(n, k)=sum_{i=0..k}n^(k-i)*binomial(k, i)*(i+1)!
E.g.f.: 1/((1-y*exp(x))*(1-x)^2). E.g.f. (n-th row): exp(n*x)/(1-x)^2.
EXAMPLE
Note secondary diagonal: {(n+1)^(n+1)}; rows begin:
1, 2,. 6,. 24,. 120,.. 720,.. 5040,..
1, 3, 11,. 49,. 261,. 1631,. 11743,..
1,_4, 18,. 92,. 536,. 3552,. 26608,..
1, 5,_27, 159, 1029,. 7353,. 58095,..
1, 6, 38,_256, 1848, 14384, 121264,..
1, 7, 51, 389,_3125, 26595, 241015,..
1, 8, 66, 564, 5016,_46656, 456048,..
1, 9, 83, 787, 7701, 78077,_823543,..
MATHEMATICA
t[n_, k_] := (n^(k+2) - Exp[n]*(n-k-1)*Gamma[k+2, n])/(k+1) // Round; Table[t[n-k, k], {n, 0, 9}, {k, n, 0, -1}] // Flatten (* Jean-François Alcover, Jun 24 2013 *)
PROG
(PARI) T(n, k)=if(n<0 || k<0, 0, sum(i=0, k, n^(k-i)*binomial(k, i)*(i+1)!))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Paul D. Hanna, Nov 14 2003
STATUS
approved