login
A298025
Partial sums of A298024.
2
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,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A298024. - Ray Chandler, Aug 31 2023
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)
CROSSREFS
Cf. A298024.
Sequence in context: A285406 A129393 A268581 * A162525 A212871 A188350
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 21 2018
EXTENSIONS
More terms from Rémy Sigrist, Jan 21 2018
STATUS
approved