OFFSET
0,5
FORMULA
a(n) = Sum_{k=0..floor(n/3)} binomial(3*k,n-3*k) * C(k), where C(k) are the Catalan numbers (A000108).
G.f.: 2/(1 + sqrt(1 - 4*(x*(1+x))^3)).
PROG
(PARI) a(n) = sum(k=0, n\3, binomial(3*k, n-3*k)*binomial(2*k, k)/(k+1));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Nov 18 2024
STATUS
approved