OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301682. - 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 - 6*x^5 - 6*x^4 - 16*x^3 - 6*x^2 - 6*x - 1)/((x - 1)^3*(x^2 + x + 1)^2). (End)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 25 2018
STATUS
approved