Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A128098
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A128098 Number of steps that touch the x-axis in all Motzkin paths of length n. +0
2
1, 4, 11, 30, 80, 214, 574, 1548, 4197, 11440, 31339, 86252, 238407, 661584, 1842585, 5148960, 14432643, 40569804, 114339777, 323031750, 914683602, 2595411126, 7378861196, 21016701652, 59962687675, 171353419536, 490407962229 (list; graph; listen)
OFFSET

1,2

COMMENT

a(n)=Sum(k*A128097(n,k), k=1..n).

FORMULA

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

EXAMPLE

a(3)=11 because in the Motzkin paths of length 3 (namely HHH, HUD, UDH, and UHD, where H=(1,0), U=(1,1), and D=(1,-1)) all the steps, with the exception of H in UHD, touch the x-axis.

MAPLE

g:=4*(1-sqrt(1-2*z-3*z^2))/(1-z+sqrt(1-2*z-3*z^2))^2: gser:=series(g, z=0, 35): seq(coeff(gser, z, n), n=1..32);

CROSSREFS

Cf. A128097.

Sequence in context: A026583 A110034 A114726 this_sequence A019495 A019496 A021006

Adjacent sequences: A128095 A128096 A128097 this_sequence A128099 A128100 A128101

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Feb 16 2007

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