OFFSET
0,5
EXAMPLE
Row 3 = {1,4,13,35,83,179,...} = BINOMIAL({1,3,6,7,6,3,1}).
Rows begin:
[1,1,1,1,1,1,1,1,..],
[1,2,4,7,11,16,22,29,..],
[1,3,8,18,36,66,113,183,..],
[1,4,13,35,83,179,358,673,..],
[1,5,19,59,160,392,886,1874,..],
[1,6,26,91,276,752,1882,4392,..],
[1,7,34,132,441,1317,3599,9143,..],
[1,8,43,183,666,2157,6371,17446,..],..
PROG
(PARI) T(n, k)=local(t); if(n<0 || k<0, 0, t=sum(j=0, k, binomial(k, j)*polcoeff((1+x+x^2)^n+x*O(x^j), j)))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Paul D. Hanna, Nov 13 2003
STATUS
approved