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.

A298025 Partial sums of A298024.

Original entry on oeis.org

1, 5, 15, 29, 47, 71, 99, 131, 169, 211, 257, 309, 365, 425, 491, 561, 635, 715, 799, 887, 981, 1079, 1181, 1289, 1401, 1517, 1639, 1765, 1895, 2031, 2171, 2315, 2465, 2619, 2777, 2941, 3109, 3281, 3459, 3641, 3827, 4019, 4215, 4415, 4621, 4831, 5045, 5265
Offset: 0

Views

Author

N. J. A. Sloane, Jan 21 2018

Keywords

Comments

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

Crossrefs

Cf. A298024.

Formula

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

Extensions

More terms from Rémy Sigrist, Jan 21 2018