OFFSET
0,3
COMMENTS
FORMULA
G.f.: G(t,z) = C/(1-z*C), where C=C(t,z) is given by z^2*(1+z^2-t*z^2)*C^2 - (1+z^2+z^4- t*z^2-t*z^4)*C + 1 + z^2 - t*z^2 = 0.
EXAMPLE
T(7,2)=2 because we have (UD[UD)UD]U and U(UD[UD)UD], where U=(1,1) and D=(1,-1) (the UDUD's are shown between parentheses).
Triangle starts:
1;
1;
2;
3;
5,1;
8,2;
15,4,1;
25,8,2;
MAPLE
eq := z^2*(1+z^2-t*z^2)*C^2-(1+z^2+z^4-t*z^2-t*z^4)*C+1+z^2-t*z^2: C := RootOf(eq, C): G := C/(1-z*C): Gser := simplify(series(G, z = 0, 20)): for n from 0 to 17 do P[n] := sort(coeff(Gser, z, n)) end do: 1; 1; for n from 2 to 17 do seq(coeff(P[n], t, k), k = 0 .. floor((1/2)*n)-1) end do; # yields sequence in triangular form
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Jun 18 2011
STATUS
approved