OFFSET
0,4
FORMULA
a(n) = (1/(n+1)) * Sum_{k=0..floor(n/3)} binomial(2*n+2,k) * binomial(n-2*k-1,n-3*k).
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serreverse(x*(1-x)^2/(1-x+x^3)^2)/x)
(PARI) a(n, s=3, t=2, u=2) = sum(k=0, n\s, binomial(t*(n+1), k)*binomial((u-t+1)*(n+1)-(s-1)*k-2, n-s*k))/(n+1);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 29 2024
STATUS
approved