OFFSET
0,12
COMMENTS
Main diagonal (A132785) also yields (with offset) the row sums and the rightmost border of this triangle.
EXAMPLE
Triangle begins:
1;
0, 1;
0,0, 1,1;
0,0,0, 1,2,2,2;
0,0,0,0, 2,4,6,7,7,7,7;
0,0,0,0,0, 7,14,21,28,34,38,40,40,40,40,40;
0,0,0,0,0,0, 40,80,120,160,200,238,272,300,321,335,342,342,342,342,342,342; ...
To obtain row 4 from row 3: [0,0,0, 1,2,2,2], start with 4 zeros followed by the partial sums of the reverse of row 3: partial_sums([2,2,2,1, 0,0,0]) = [2,4,6,7, 7,7,7].
PROG
(PARI) {T(n, k)=local(A=[1]); if(n==0, 1, for(i=1, n, B=Vec(Pol(A)/(1-x +x*O(x^(i*(i-1)/2)))); A=concat(vector(i), B)); A[k+1])}
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Paul D. Hanna, Aug 29 2007
STATUS
approved