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