A301698 Partial sums of A301697.
1, 6, 16, 32, 54, 81, 113, 150, 192, 240, 294, 353, 417, 486, 560, 640, 726, 817, 913, 1014, 1120, 1232, 1350, 1473, 1601, 1734, 1872, 2016, 2166, 2321, 2481, 2646, 2816, 2992, 3174, 3361, 3553, 3750, 3952, 4160, 4374, 4593, 4817, 5046, 5280, 5520, 5766, 6017, 6273, 6534, 6800, 7072, 7350, 7633, 7921, 8214, 8512, 8816, 9126, 9441, 9761
Offset: 0
Keywords
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,-3,1).
Crossrefs
Cf. A301697.
Programs
-
Mathematica
LinearRecurrence[{3, -4, 4, -4, 4, -3, 1}, {1, 6, 16, 32, 54, 81, 113}, 100] (* Paolo Xausa, Jul 31 2024 *)
Formula
From Colin Barker, Apr 08 2018: (Start)
G.f.: (1 + 3*x + 2*x^2 + 4*x^3 + 2*x^4 + 3*x^5 + x^6) / ((1 - x)^3*(1 - x + x^2)*(1 + x + x^2)).
a(n) = 3*a(n-1) - 4*a(n-2) + 4*a(n-3) - 4*a(n-4) + 4*a(n-5) - 3*a(n-6) + a(n-7) for n>6. (End)
Comments