login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112308 Sum of the heights of the second peaks in all Dyck paths of semilength n+2. 1
1, 6, 25, 93, 333, 1180, 4183, 14895, 53349, 192239, 696765, 2539157, 9299547, 34215102, 126411177, 468822297, 1744799967, 6514363557, 24393558687, 91591471287, 344764147407, 1300756937445, 4918188617379, 18633066901747 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

a(n)=sum(k*A112307(n+2,k), k=0..n+1).

FORMULA

G.f.=c^4*(1+zc)/(1-z), where c=[1-sqrt(1-4z)]/(2z) is the Catalan function.

EXAMPLE

a(1)=6 because the second peaks of the Dyck paths UDUDUD, UDUUDD, UUDDUD, UUDUDD and UUUDDD, where U=(1,1), D=(1,-1), are 1, 2, 1, 2 and 0, respectively.

MAPLE

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

CROSSREFS

Cf. A112307.

Sequence in context: A099948 A143815 A092491 * A034336 A092184 A034559

Adjacent sequences:  A112305 A112306 A112307 * A112309 A112310 A112311

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Nov 30 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 16:05 EST 2012. Contains 205635 sequences.