OFFSET
0,2
COMMENTS
Compare to A056220(n) = 2*n^2 - 1.
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = A117642(n) - 1.
G.f.: (4*x^3+9*x^2+6*x-1)/(x-1)^4. - Alois P. Heinz, Jun 24 2021
E.g.f.: exp(x)*(-1 + 3*x + 9*x^2 + 3*x^3). - Stefano Spezia, Jun 24 2021
MATHEMATICA
Table[3 n^3 - 1, {n, 100}]
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Tanya Khovanova, Jun 24 2021
STATUS
approved