OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301692. - 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,0,0,2,-2,0,0,0,-1,1).
FORMULA
From Colin Barker, Apr 07 2018: (Start)
G.f.: (1 + x)^2*(1 + x + x^3 + x^4 - x^5)*(1 + x + x^2 + x^3 + x^4 + x^5 + x^6) / ((1 - x)^3*(1 + x + x^2 + x^3 + x^4)^2).
a(n) = a(n-1) + 2*a(n-5) - 2*a(n-6) - a(n-10) + a(n-11) for n>13. (End)
MATHEMATICA
LinearRecurrence[{1, 0, 0, 0, 2, -2, 0, 0, 0, -1, 1}, {1, 5, 12, 21, 33, 49, 70, 95, 121, 150, 184, 222, 263, 305}, 100] (* Paolo Xausa, Jul 31 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 25 2018
STATUS
approved