A301671 Partial sums of A301670.
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
Keywords
Links
- Ray Chandler, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (0, 1, 1, 1, -1, -1, -1, 0, 1).
Crossrefs
Cf. A301670.
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)
Comments