The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A258177 Sum over all Dyck paths of semilength n of products over all peaks p of y_p^x_p, where x_p and y_p are the coordinates of peak p. 10
1, 1, 5, 112, 15312, 22928885, 475971133797, 164769697242392241, 1674694178196441599627207, 434453335415659344048321288040053, 2772047111897899211702422870954450438220795, 919691726760748842849028933552012720445531166591469510 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
A Dyck path of semilength n is a (x,y)-lattice path from (0,0) to (2n,0) that does not go below the x-axis and consists of steps U=(1,1) and D=(1,-1). A peak of a Dyck path is any lattice point visited between two consecutive steps UD.
LINKS
Wikipedia, Lattice path
MAPLE
b:= proc(x, y, t) option remember; `if`(y>x or y<0, 0,
`if`(x=0, 1, b(x-1, y-1, false)*`if`(t, y^x, 1) +
b(x-1, y+1, true) ))
end:
a:= n-> b(2*n, 0, false):
seq(a(n), n=0..15);
MATHEMATICA
b[x_, y_, t_] := b[x, y, t] = If[y > x || y < 0, 0, If[x == 0, 1, b[x - 1, y - 1, False]*If[t, y^x, 1] + b[x - 1, y + 1, True]]];
a[n_] := b[2*n, 0, False];
Table[a[n], {n, 0, 15}] (* Jean-François Alcover, Apr 23 2016, translated from Maple *)
CROSSREFS
Sequence in context: A258795 A263531 A351148 * A224897 A086805 A163014
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 22 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 28 20:33 EDT 2024. Contains 372919 sequences. (Running on oeis4.)