OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301686. - 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 (1, 0, 2, -2, 0, -1, 1).
FORMULA
From Chai Wah Wu, Feb 03 2021: (Start)
a(n) = a(n-1) + 2*a(n-3) - 2*a(n-4) - a(n-6) + a(n-7) for n > 6.
G.f.: (-x^6 - 5*x^5 - 7*x^4 - 12*x^3 - 7*x^2 - 5*x - 1)/((x - 1)^3*(x^2 + x + 1)^2). (End)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 25 2018
STATUS
approved