OFFSET
0,1
COMMENTS
This is one of the four quadratic sequences that, interleaved, yield A360418.
LINKS
Ray Chandler, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
From Elmo R. Oliveira, Jan 28 2025: (Start)
G.f.: (17*x^2-3*x+2)/(1-x)^3.
E.g.f.: exp(x)*(2 + x + 8*x^2).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n >= 3.
a(n) = A360418(4*n-1) for n>=1. (End)
a(n) = A125201(n) + 1, n >= 1. - Omar E. Pol, Jan 28 2025
MATHEMATICA
Table[8*n^2 - 7*n + 2, {n, 0, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
James Propp, Feb 06 2023
EXTENSIONS
a(0)=2 prepended and more terms from Alois P. Heinz, Jan 28 2025
STATUS
approved