OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301287. - Ray Chandler, Aug 31 2023
LINKS
Ray Chandler, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,-2,3,-3,2,-2,1).
FORMULA
From Chai Wah Wu, Feb 03 2021: (Start)
a(n) = 2*a(n-1) - 2*a(n-2) + 3*a(n-3) - 3*a(n-4) + 2*a(n-5) - 2*a(n-6) + a(n-7) for n > 8.
G.f.: (2*x^8 - 2*x^7 - x^6 - 4*x^5 - 2*x^4 - 2*x^3 - 4*x^2 - 2*x - 1)/((x - 1)^3*(x^2 + 1)*(x^2 + x + 1)). (End)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 23 2018
STATUS
approved