|
Search: id:A112308
|
|
|
| A112308 |
|
Sum of the heights of the second peaks in all Dyck paths of semilength n+2. |
|
+0 2
|
|
| 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; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
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 this_sequence A034336 A092184 A034559
Adjacent sequences: A112305 A112306 A112307 this_sequence A112309 A112310 A112311
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Emeric Deutsch (deutsch(AT)duke.poly.edu), Nov 30 2005
|
|
|
Search completed in 0.002 seconds
|