login
A301671
Partial sums of A301670.
1
1, 5, 13, 25, 41, 63, 89, 115, 151, 187, 231, 273, 327, 377, 441, 497, 569, 635, 717, 787, 879, 959, 1059, 1145, 1255, 1349, 1469, 1569, 1697, 1807, 1945, 2059, 2207, 2331, 2487, 2617, 2783, 2921, 3097, 3241, 3425, 3579, 3773, 3931, 4135, 4303, 4515, 4689, 4911, 5093, 5325, 5513, 5753, 5951, 6201, 6403, 6663
OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301670. - Ray Chandler, Aug 30 2023
LINKS
FORMULA
From Chai Wah Wu, Mar 11 2021: (Start)
a(n) = a(n-2) + a(n-3) + a(n-4) - a(n-5) - a(n-6) - a(n-7) + a(n-9) for n > 9.
G.f.: (2*x^9 - x^8 - 5*x^7 - 16*x^6 - 21*x^5 - 22*x^4 - 19*x^3 - 12*x^2 - 5*x - 1)/((x - 1)^3*(x + 1)^2*(x^2 + 1)*(x^2 + x + 1)). (End)
CROSSREFS
Cf. A301670.
Sequence in context: A301302 A133322 A299258 * A373059 A268525 A146590
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 25 2018
STATUS
approved