|
| |
|
|
A128748
|
|
Number of peaks at height >1 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.
|
|
1
| |
|
|
0, 2, 11, 54, 260, 1247, 5982, 28741, 138364, 667488, 3226503, 15625476, 75802578, 368316888, 1792203759, 8732274312, 42598366616, 208036945958, 1017023261529, 4976560342522, 24372741339016, 119461561111023, 585970198529224
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| a(n)=Sum(A128747(n,k), k=0..n-1).
|
|
|
LINKS
| E. Deutsch, E. Munarini, S. Rinaldi, Skew Dyck paths, J. Stat. Plann. Infer. 140 (8) (2010) 2191-2203
|
|
|
FORMULA
| G.f.=[1-4z+2z^2+z^3-(1-z+z^2)sqrt(1-6z+5z^2)]/[2z(2-z)sqrt(1-6z+5z^2)].
|
|
|
EXAMPLE
| a(2)=2 because in the paths UDUD, U(UD)D and U(UD)L we have altogether 2 peaks at height >1 (shown between parentheses).
|
|
|
MAPLE
| G:=(1-4*z+2*z^2+z^3-(1-z+z^2)*sqrt(1-6*z+5*z^2))/2/z/(2-z)/sqrt(1-6*z+5*z^2): Gser:=series(G, z=0, 30): seq(coeff(Gser, z, n), n=1..27);
|
|
|
CROSSREFS
| Cf. A128747.
Sequence in context: A030281 A063767 A161559 * A037522 A037731 A115205
Adjacent sequences: A128745 A128746 A128747 * A128749 A128750 A128751
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 31 2007
|
| |
|
|