OFFSET
0,3
FORMULA
a(n) = Sum_{k=0..floor(n/3)} binomial(n-2*k-1,k) * Catalan(n-3*k).
G.f.: 2/(1 + sqrt(1 - 4*x/(1 - x^3))).
D-finite with recurrence (n+1)*a(n) +2*(-2*n+1)*a(n-1) +(-2*n+7)*a(n-3) +4*(n-5)*a(n-4) +(n-8)*a(n-6)=0. - R. J. Mathar, Oct 24 2024
MAPLE
A376574 := proc(n)
add(A000108(n-3*k)*binomial(n-2*k-1, k), k=0..floor(n/3)) ;
end proc:
seq(A376574(n), n=0..80) ;
# R. J. Mathar, Oct 24 2024
PROG
(PARI) a(n) = sum(k=0, n\3, binomial(n-2*k-1, k)*binomial(2*(n-3*k), n-3*k)/(n-3*k+1));
(PARI) my(N=30, x='x+O('x^N)); Vec(2/(1+sqrt(1-4*x/(1-x^3))))
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Seiichi Manyama, Sep 28 2024
STATUS
approved