OFFSET
0,4
COMMENTS
A 3_1-Dyck path is a lattice path with steps (1, 3), (1, -1) that starts and ends at y = 0 and stays above the line y = -1.
For n = 3, there is no 4th up step, a(3) = 236 enumerates the total number of down steps between the 3rd up step and the end of the path.
LINKS
Andrei Asinowski, Benjamin Hackl, Sarah J. Selkirk, Down-step statistics in generalized Dyck paths, arXiv:2007.15562 [math.CO], 2020.
FORMULA
a(0) = a(1) = a(2) = 0 and a(n) = binomial(4*n+1, n)/(4*n+1) + 6*Sum_{j=1..3} binomial(4*j+2, j)*binomial(4*(n-j), n-j)/((4*j+2)*(n-j+1)) - 52*[n=3] for n > 2, where [ ] is the Iverson bracket.
PROG
(SageMath) [binomial(4*n + 1, n)/(4*n + 1) + 6*sum([binomial(4*j + 2, j)*binomial(4*(n - j), n - j)/(4*j + 2)/(n - j + 1) for j in srange(1, 4)]) - 52*(n==3) if n > 2 else 0 for n in srange(30)] # Benjamin Hackl, May 12 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benjamin Hackl, May 12 2020
STATUS
approved