OFFSET
0,9
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1,0,0,0,1).
FORMULA
G.f.: (1-x)^3/((1-x)^4 - x^8).
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + a(n-8).
PROG
(PARI) a(n) = sum(k=0, n\8, binomial(n-4*k, 4*k));
(PARI) my(N=66, x='x+O('x^N)); Vec((1-x)^3/((1-x)^4-x^8))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Oct 10 2021
STATUS
approved