OFFSET
1,7
COMMENTS
FORMULA
G.f.: G(t,z) = (1 - z*c + t*z^3*c^2)/((1 - z*c)*(1 - t*z)*(1 - t*z^2)), where c = (1-sqrt(1 - 4*z^2))/(2*z^2).
EXAMPLE
T(5,2)=3 because we have UUDDU, UUDUD, and UUDUU, where U=(1,1) and D=(1,-1).
Triangle starts:
1;
1, 1;
1, 1, 1;
2, 2, 1, 1;
3, 3, 2, 1, 1;
6, 6, 4, 2, 1, 1;
MAPLE
c := ((1-sqrt(1-4*z^2))*1/2)/z^2: G := (1-z*c+t*z^3*c^2)/((1-z*c)*(1-t*z)*(1-t*z^2*c)): Gser := simplify(series(G, z = 0, 17)): for n to 13 do P[n] := sort(coeff(Gser, z, n)) end do: for n to 13 do seq(coeff(P[n], t, k), k = 1 .. n) end do; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Emeric Deutsch, Jun 18 2011
STATUS
approved