OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: 1 / ( sqrt(1-4*x) * (1 + x^3) ).
a(n) ~ 2^(2*n + 6) / (65*sqrt(Pi*n)). - Vaclav Kotesovec, Jan 29 2023
D-finite with recurrence n*a(n) +2*(-2*n+1)*a(n-1) +n*a(n-3) +2*(-2*n+1)*a(n-4)=0. - R. J. Mathar, Mar 12 2023
a(n)+a(n-3) = A000984(n). - R. J. Mathar, Mar 12 2023
MAPLE
A360186 := proc(n)
add((-1)^k*binomial(2*n-6*k, n-3*k), k=0..n/3) ;
end proc:
seq(A360186(n), n=0..70) ; # R. J. Mathar, Mar 12 2023
MATHEMATICA
Table[Sum[(-1)^k Binomial[2n-6k, n-3k], {k, 0, Floor[n/3]}], {n, 0, 30}] (* Harvey P. Dale, Mar 05 2023 *)
PROG
(PARI) a(n) = sum(k=0, n\3, (-1)^k*binomial(2*n-6*k, n-3*k));
(PARI) my(N=30, x='x+O('x^N)); Vec(1/(sqrt(1-4*x)*(1+x^3)))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jan 29 2023
STATUS
approved