OFFSET
0,2
COMMENTS
This sequence can be easily expressed also in RNA secondary structure terminology.
Lim_{n->infinity} a(n)/A004148(n) = sqrt(5).
LINKS
I. L. Hofacker, P. Schuster and P. F. Stadler, Combinatorics of RNA secondary structures, Discrete Appl. Math., 88, 1998, 207-237.
P. R. Stein and M. S. Waterman, On some new sequences generalizing the Catalan and Motzkin numbers, Discrete Math., 26 (1979), 261-272.
M. Vauchassade de Chaumont and G. Viennot, Polynômes orthogonaux et problèmes d'énumeration en biologie moléculaire, Sem. Loth. Comb. B08l (1984) 79-86.
M. S. Waterman, Home Page (contains copies of his papers)
FORMULA
a(n) = Sum_{k=ceiling(n/2+1)..n+1} (5k-2n-2)*binomial(k,n+1-k) * binomial(k+1,n+3-k)/(k*(n+4-k)).
G.f.: 2/(1 - 3z + 2z^2 - 2z^3 + 2z^4 - z^5 + (1 - 2z + z^2 - z^3)*sqrt(1 - 2z - z^2 - 2z^3 + z^4)).
D-finite with recurrence -(n+7)*(86*n-51)*a(n) +3*(95*n^2+434*n-249)*a(n-1) +4*(-35*n^2-71*n-60)*a(n-2) +(59*n^2+209*n+1020)*a(n-3) +6*(-52*n^2+11*n+71)*a(n-4) +(113*n+119)*(n-3)*a(n-5)=0. - R. J. Mathar, Jul 24 2022
EXAMPLE
a(2)=7 because in the eight peakless Motzkin paths of length 5, namely HHHHH, HHU'HD, HU'HHD, HU'HDH, U'HDHH, U'HHDH, U'HHHD and U'UHDD, where U=(1,1), D=(1,-1), H=(1,0), we have altogether seven U steps starting at level zero (indicated by U').
CROSSREFS
KEYWORD
nonn
AUTHOR
Emeric Deutsch, Jan 07 2004
STATUS
approved