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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129167 Number of base pyramids in all skew Dyck paths of semilength n. A skew Dyck path is a path in the first quadrant which begins at the origin, ends on the x-axis, consists of steps U=(1,1)(up), D=(1,-1)(down) and L=(-1,-1)(left) so that up and left steps do not overlap. The length of the path is defined to be the number of its steps. A pyramid in a skew Dyck word (path) is a factor of the form u^h d^h, h being the height of the pyramid. A base pyramid is a pyramid starting on the x-axis. 1
0, 1, 3, 9, 30, 109, 420, 1685, 6960, 29391, 126291, 550359, 2426502, 10803801, 48507843, 219377949, 998436792, 4569488371, 21016589073, 97090411019, 450314942682, 2096122733211, 9788916220518, 45850711498859 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

a(n)=Sum(k*A129165(n,k),k=0..n). a(n)=absolute value of A091699(n+1). Partial sums of A033321(n), n=1,2,3,...

LINKS

E. Deutsch, E. Munarini, S. Rinaldi, Skew Dyck paths, J. Stat. Plann. Infer. 140 (8) (2010) 2191-2203

FORMULA

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

EXAMPLE

a(2)=3 because in the paths (UD)(UD), (UUDD) and UUDL we have altogether 3 base pyramids (shown between parentheses).

MAPLE

G:=(1-3*z-sqrt(1-6*z+5*z^2))/z/(3-3*z-sqrt(1-6*z+5*z^2)): Gser:=series(G, z=0, 30): seq(coeff(Gser, z, n), n=0..27);

CROSSREFS

Cf. A129165, A091699, A033321.

Sequence in context: A200074 A032125 A091699 * A151472 A107379 A117428

Adjacent sequences:  A129164 A129165 A129166 * A129168 A129169 A129170

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 04 2007

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 15 10:28 EST 2012. Contains 205763 sequences.