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.

A301294 Partial sums of A301293.

Original entry on oeis.org

1, 5, 14, 28, 46, 68, 95, 127, 163, 203, 248, 298, 352, 410, 473, 541, 613, 689, 770, 856, 946, 1040, 1139, 1243, 1351, 1463, 1580, 1702, 1828, 1958, 2093, 2233, 2377, 2525, 2678, 2836, 2998, 3164, 3335, 3511, 3691, 3875, 4064, 4258, 4456, 4658
Offset: 0

Views

Author

N. J. A. Sloane, Mar 23 2018

Keywords

Crossrefs

Cf. A301293.

Programs

  • Mathematica
    LinearRecurrence[{3,-4,4,-3,1},{1,5,14,28,46},50] (* Harvey P. Dale, Aug 05 2023 *)
  • PARI
    Vec((1 + x + x^2)^2 / ((1 - x)^3*(1 + x^2)) + O(x^60)) \\ Colin Barker, Mar 23 2018

Formula

From Colin Barker, Mar 23 2018: (Start)
G.f.: (1 + x + x^2)^2 / ((1 - x)^3*(1 + x^2)).
a(n) = 3*a(n-1) - 4*a(n-2) + 4*a(n-3) - 3*a(n-4) + a(n-5) for n>4.
(End)