OFFSET
1,3
COMMENTS
FORMULA
G.f.=2/[2-2tz-t^2+t^2*z+t^2*sqrt(1-2z-3z^2)]-1.
EXAMPLE
T(5,3)=4 because we have HU(HH)D, HU(UD)D, U(HH)DH and U(UD)DH, where U=(1,1), H=(1,0) and D=(1,-1) and the steps that do not touch the x-axis are shown between parentheses.
Triangle starts:
1;
0,2;
0,1,3;
0,2,2,5;
0,4,4,5,8;
0,9,8,11,10,13;
0,21,18,24,23,20,21;
MAPLE
G:=2/(2-2*t*z-t^2+t^2*z+t^2*sqrt(1-2*z-3*z^2))-1: Gser:=simplify(series(G, z=0, 14)): for n from 1 to 12 do P[n]:=sort(coeff(Gser, z, n)) od: for n from 1 to 12 do seq(coeff(P[n], t, j), j=1..n) od; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Feb 16 2007
STATUS
approved