OFFSET
0,4
EXAMPLE
For n = 3, the a(3)=4 paths are DUU, HHH, UDU, UUD, where U=(1,1), D=(1,-2) and H=(1,0).
MAPLE
a := n -> hypergeom([4/3, 5/3, (1-n)/3, (2-n)/3, -n/3], [1/3, 2/3, 5/2, 2], -27/4):
seq(simplify(a(n)), n = 0..30); # Peter Luschny, Dec 18 2024
PROG
(PARI) a(n) = sum(k=0, floor(n/3), binomial(n, k*3)*binomial(3*k+3, k+1)/(2*k+3)) \\ Thomas Scheuerle, Dec 09 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Emely Hanna Li Lobnig, Dec 09 2024
STATUS
approved