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.: (3 - 7*x + 20*x^2)/(1 - x)^3.
E.g.f.: (3 - x + 8*x^2)*exp(x).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n >= 3.
a(n) = A360418(4*n-2) for n >= 1. (End)
MATHEMATICA
Table[8*n^2 - 9*n + 3, {n, 0, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
James Propp, Feb 06 2023
EXTENSIONS
a(0)=3 prepended and more terms from Elmo R. Oliveira, Jan 28 2025
STATUS
approved