cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A301698 Partial sums of A301697.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Mar 26 2018

Keywords

Comments

Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301697. - Ray Chandler, Aug 30 2023

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)