OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301714. - 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,-1,3,-3,1,0,1,-2,1).
FORMULA
From Colin Barker, Apr 09 2018: (Start)
G.f.: (1 + 4*x + 7*x^2 + 4*x^3 + 6*x^4 + 10*x^5 + 6*x^6 + 4*x^7 + 7*x^8 + 4*x^9+ x^10) / ((1 - x)^3*(1 + x^4)*(1 + x + x^2 + x^3 + x^4)).
a(n) = 2*a(n-1) - a(n-2) - a(n-4) + 3*a(n-5) - 3*a(n-6) + a(n-7) + a(n-9) - 2*a(n-10) + a(n-11) for n>10. (End)
MATHEMATICA
LinearRecurrence[{2, -1, 0, -1, 3, -3, 1, 0, 1, -2, 1}, {1, 6, 18, 34, 55, 83, 114, 152, 196, 243, 299}, 100] (* Paolo Xausa, Jul 31 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 26 2018
STATUS
approved