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