OFFSET
0,3
REFERENCES
Rodrigo De Castro, Teoria de la computaciĆ³n [Computer Theory], book published by National University of Colombia [date?].
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,4,0,-6,0,4,0,-1).
FORMULA
a(n) = (14/3)*n - 4*n^2 + (4/3)*n^3 if n is even;
a(n) = 1 - 2*n + 2*n^2 if n is odd.
From Chai Wah Wu, Mar 04 2021: (Start)
a(n) = 4*a(n-2) - 6*a(n-4) + 4*a(n-6) - a(n-8) for n > 7.
G.f.: x*(-x^3 + 7*x^2 + x + 1)*(5*x^3 - x^2 + 3*x + 1)/((x - 1)^4*(x + 1)^4). (End)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Marlon Vanegas, Mar 02 2021
STATUS
approved