OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301726. - 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 (3, -4, 4, -4, 4, -4, 4, -4, 4, -3, 1).
FORMULA
From Colin Barker, Apr 09 2018: (Start)
G.f.: (1 + x + x^2)*(1 + 2*x + 3*x^4 + 2*x^7 + x^8) / ((1 - x)^3*(1 - x + x^2 - x^3 + x^4)*(1 + x + x^2 + x^3 + x^4)).
a(n) = 3*a(n-1) - 4*a(n-2) + 4*a(n-3) - 4*a(n-4) + 4*a(n-5) - 4*a(n-6) + 4*a(n-7) - 4*a(n-8) + 4*a(n-9) - 3*a(n-10) + a(n-11) for n>10.
(End)
MATHEMATICA
Accumulate[CoefficientList[Series[(x^2+x+1)(x^8+2x^7+3x^4+2x+1)/ ((x^4+ x^3+x^2+x+1)(x^4-x^3+x^2-x+1)(x-1)^2), {x, 0, 110}], x]] (* Harvey P. Dale, Sep 25 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 26 2018
STATUS
approved