OFFSET
2,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..2000
Index entries for linear recurrences with constant coefficients, signature (2,0,0,0,-2,1).
FORMULA
G.f.: (x-2)*x^3/((x-1)*(x+1)*(x^4-2*x^3+x^2-2*x+1)).
a(n) = 2*a(n-1) - 2*a(n-5) + a(n-6). - Wesley Ivan Hurt, May 17 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Oct 26 2018
STATUS
approved