OFFSET
0,7
LINKS
M. Bona and A. Knopfmacher, On the probability that certain compositions have the same number of parts, Ann. Comb., 14 (2010), 291-306.
E. Munarini and N. Zagaglia Salvi, On the Rank Polynomial of the Lattice of Order Ideals of Fences and Crowns, Discrete Mathematics 259 (2002), 163-177.
FORMULA
G.f.: G(t,z) = 1/( z-tz+sqrt((1+z+z^2)(1-3z+z^2)) ).
Sum_{k=0..n} k*T(n,k) = A182890(n).
EXAMPLE
T(3,1)=2. Indeed, denoting by h (H) the (1,0)-step of weight 1 (2), and u=(1,1), d=(1,-1), the five paths of weight 3 are ud, du, hH, Hh, and hhh; two of them, namely hH and Hh, have exactly two (1,0)-steps at level 0.
Triangle starts:
1;
0, 1;
1, 0, 1;
2, 2, 0, 1;
3, 4, 3, 0, 1;
8, 7, 6, 4, 0, 1;
17, 20, 12, 8, 5, 0, 1;
38, 44, 36, 18, 10, 6, 0, 1;
89, 104, 82, 56, 25, 12, 7, 0, 1;
...
MAPLE
G:=1/(z-t*z+sqrt((1+z+z^2)*(1-3*z+z^2))): Gser:=simplify(series(G, z=0, 14)): for n from 0 to 11 do P[n]:=sort(coeff(Gser, z, n)) od: for n from 0 to 11 do seq(coeff(P[n], t, k), k=0..n) od; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Dec 11 2010
STATUS
approved
