OFFSET
0,6
COMMENTS
Row lengths = n^2 + 1. T(n,0)= 1, the composition of 0 into an empty sequence of summands. T(n,n^2) = 1, the composition of n^2 into exactly n parts all equal to n.
LINKS
Philippe Flajolet and Robert Sedgewick, Analytic Combinatorics, Cambridge Univ. Press, 2009, page 45.
FORMULA
E.g.f. for row n: B(A(z)) where A(z)= (z-z^(n+1))/(1-z) and B(z)= (1-z^(n+1))/(1-z).
EXAMPLE
Triangle:
1
1 1
1 1 2 2 1
1 1 2 4 6 8 8 6 3 1
T(3,5)=8 because there are 8 compositions of 5 into at most 3 parts that are less than or equal to 3: 1+1+3, 1+2+2, 1+3+1, 2+1+2, 2+2+1, 2+3, 3+1+1, 3+2.
MATHEMATICA
nn=200; a=(z-z^k)/(1-z); Table[CoefficientList[Series[(1-a^k)/(1-a), {z, 0, nn}], z], {k, 1, 7}]//Flatten
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Geoffrey Critzer, Feb 15 2012
STATUS
approved