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!)
A334680 a(n) is the total number of down-steps after the final up-step in all 2-Dyck paths of length 3*n (n up-steps and 2*n down-steps). 4

%I #22 Mar 26 2022 04:31:22

%S 0,2,9,43,218,1155,6324,35511,203412,1184040,6983925,41652468,

%T 250763464,1521935948,9301989144,57203999295,353701790376,

%U 2197600497330,13713291247635,85907187607395,540072341320050,3406202392821375,21545888897092560,136655834260685220,868897745157965328

%N a(n) is the total number of down-steps after the final up-step in all 2-Dyck paths of length 3*n (n up-steps and 2*n down-steps).

%C A 2-Dyck path is a lattice path with steps U = (1, 2), d = (1, -1) that starts at (0,0), stays (weakly) above the x-axis, and ends at the x-axis.

%H Andrei Asinowski, Benjamin Hackl, Sarah J. Selkirk, <a href="https://arxiv.org/abs/2007.15562">Down-step statistics in generalized Dyck paths</a>, arXiv:2007.15562 [math.CO], 2020.

%F a(n) = binomial(3*(n+1) + 1, n+1)/(3*(n+1) + 1) - binomial(3*n + 1, n)/(3*n + 1).

%F a(n) = (17 + 23*n)*binomial(3*n, n - 1)/((2*n + 2)*(2*n + 3)).

%F a(n) = A062745(n+1, 2*n-1).

%e For n = 2, the a(2) = 9 is the total number of down-steps after the last up-step in UddUdd, UdUddd, UUdddd.

%p alias(PS=ListTools:-PartialSums): A334680List := proc(m) local A, P, n;

%p A := [0,2]; P := [1,2]; for n from 1 to m - 2 do P := PS(PS([op(P), P[-1]]));

%p A := [op(A), P[-1]] od; A end: A334680List(25); # _Peter Luschny_, Mar 26 2022

%t a[n_] := Binomial[3*n + 4, n + 1]/(3*n + 4) - Binomial[3*n + 1, n]/(3*n + 1); Array[a, 25, 0] (* _Amiram Eldar_, May 13 2020 *)

%o (SageMath) [(17 + 23*n)*binomial(3*n, n-1)/(2*n+2)/(2*n+3) for n in srange(30)] # _Benjamin Hackl_, May 13 2020

%Y First order differences of A001764.

%Y The 4th column of A280759.

%Y Cf. A062745.

%K nonn,easy

%O 0,2

%A _Andrei Asinowski_, May 08 2020

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 1 10:38 EDT 2024. Contains 372163 sequences. (Running on oeis4.)