OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,3,0,-3,0,1).
FORMULA
G.f.: 1 / (1 - x^2 - x/(1 - x^2)^2).
a(n) = a(n-1) + 3*a(n-2) - 3*a(n-4) + a(n-6) for n > 5.
PROG
(PARI) a(n) = sum(k=0, n\2, binomial(3*n-5*k, k));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jun 12 2024
STATUS
approved