OFFSET
3,2
COMMENTS
Row n has ceiling(n/2)-1 terms. Row sums yield A110239.
LINKS
W. R. Schmitt and M. S. Waterman, Linear trees and RNA secondary structure, Discrete Appl. Math., 51, 317-323, 1994.
P. R. Stein and M. S. Waterman, On some new sequences generalizing the Catalan and Motzkin numbers, Discrete Math., 26 (1978), 261-272.
M. Vauchassade de Chaumont and G. Viennot, Polynômes orthogonaux et problèmes d'énumeration en biologie moléculaire, Publ. I.R.M.A. Strasbourg, 1984, 229/S-08, Actes 8e Sem. Lotharingien, pp. 79-86.
FORMULA
G.f.: z^2*g^2*(g-1)/(1-tz^2*g^2), where g = 1 + zg + z^2*g(g-1) = (1 - z + z^2 - sqrt(1 - 2z - z^2 - 2z^3 + z^4))/(2z^2) is the g.f. of the RNA secondary structure numbers (A004148).
EXAMPLE
T(5,1)=1 because in the 8 (=A004148(5)) peakless Motzkin paths of length 5, namely HHHHH, UHDHH, UHHDH, UHHHD, HUHDH, HUHHD, HHUHD and U(U)HDD (where U=(1,1), H=(1,0) and D=(1,-1)), we have altogether 1 U step starting at level 1 (shown between parentheses).
Triangle starts:
1;
3;
7, 1;
17, 5;
41, 16, 1;
98, 46, 7;
MAPLE
g:=(1-z+z^2-sqrt(1-2*z-z^2-2*z^3+z^4))/2/z^2: G:=z^2*g^2*(g-1)/(1-t*z^2*g^2): Gser:=simplify(series(G, z=0, 21)): for n from 1 to 17 do P[n]:=coeff(Gser, z^n) od: for n from 3 to 17 do seq(coeff(t*P[n], t^k), k=1..ceil(n/2)-1) od;
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Emeric Deutsch, Jul 17 2005
STATUS
approved