OFFSET
0,3
FORMULA
a(n) = Sum_{k=0..floor(n/3)} binomial(2*n,k) * binomial(2*n-2*k-1,n-3*k).
The g.f. exp( Sum_{k>=1} a(k) * x^k/k ) has integer coefficients and equals (1/x) * Series_Reversion( x * (1-x)^3 / (1-x+x^3)^2 ). See A369231.
PROG
(PARI) a(n, s=3, t=2, u=3) = sum(k=0, n\s, binomial(t*n, k)*binomial((u-t+1)*n-(s-1)*k-1, n-s*k));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 29 2024
STATUS
approved