OFFSET
0,6
COMMENTS
FORMULA
G.f.=G=G(t, z)= (1-tz)(1-z)/[1-2tz+tz^2-z(1-z)(1-t*z)C), where C=[1-sqrt(1-4z)]/(2z) is the Catalan function.
EXAMPLE
T(3,3)=4 because there are four Dyck paths of semilength 3 having 3 as sum of pyramid heights: (UD)(UUDD),(UUDD)(UD),(UD)(UD)(UD) and (UUUDDD) (the pyramids are shown between parentheses).
Triangle begins:
[1];[0, 1];[0, 0, 2];[1, 0, 0, 4];[4, 2, 0, 0, 8];[13, 8, 5, 0, 0, 16];[42, 26, 20, 12, 0, 0, 32];
MAPLE
C:=(1-sqrt(1-4*z))/2/z: G:=(1-t*z)*(1-z)/(1-2*t*z+t*z^2-z*C*(1-z)*(1-t*z)): Gserz:=simplify(series(G, z=0, 16)): P[0]:=1: for n from 1 to 14 do P[n]:=sort(coeff(Gserz, z^n)) od: seq([subs(t=0, P[n]), seq(coeff(P[n], t^k), k=1..n)], n=0..14);
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Jun 04 2004
STATUS
approved