OFFSET
0,5
EXAMPLE
T(5,2) = 1146 = 1*1 + 3*40 + 5*205 = 1*T(4,0) + 3*T(4,1) + 5*T(4,2).
T(5,2) = 1146 = 121 + 5*205 = T(5,1) + (2*2+1)*T(4,2).
T(5,3) = 4198 = 1146 + 7*436 = T(5,2) + (2*3+1)*T(4,3).
Rows begin:
[1],
[1,1],
[1,4,4],
[1,13,33,33],
[1,40,205,436,436],
[1,121,1146,4198,8122,8122],
[1,364,6094,35480,108578,197920,197920],
[1,1093,31563,279923,1257125,3434245,6007205,6007205],...
PROG
(PARI) T(n, k)=if(n<k||k<0, 0, if(n==0||k==0, 1, T(n, k-1)+(2*k+1)*T(n-1, k)))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Paul D. Hanna, Jan 05 2005
STATUS
approved