Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097779
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097779 Number of Motzkin paths of length n, starting with an up step, ending with a down step, and having no peaks (can be easily expressed using RNA secondary structure terminology). +0
3
1, 0, 0, 1, 1, 2, 5, 11, 25, 58, 135, 317, 750, 1785, 4272, 10275, 24823, 60210, 146576, 358010, 877087, 2154751, 5307166, 13102511, 32418806, 80375267, 199650310, 496803811, 1238276667, 3091173482, 7727893389, 19346109435, 48493869237 (list; graph; listen)
OFFSET

0,6

FORMULA

G.f. = z + (1-z)^2*[1-z+z^2-sqrt(1-2z-z^2-2z^3+z^4)]/(2z^2)

EXAMPLE

a(6)=5 because we have UHHHHD, UHDUHD, UUHHDD, UHUHDD, and UUHDHD, where U=(1,1), D=(1,-1) and H=(1,0).

MAPLE

G:=z+1/2*(1-z)^2/z^2*(1-z+z^2-sqrt(1-2*z-z^2-2*z^3+z^4)): Gser:=series(G, z=0, 40): 1, seq(coeff(Gser, z^n), n=1..37);

CROSSREFS

Cf. A004148.

Sequence in context: A006054 A106805 A094981 this_sequence A106336 A047775 A001432

Adjacent sequences: A097776 A097777 A097778 this_sequence A097780 A097781 A097782

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Sep 11 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research