OFFSET
0,1
COMMENTS
The old entry with this sequence number was a duplicate of A010581.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: (6-11x+11x^2)/(1-x)^3. Binomial transform of 6,1,6,0,0,.. (0 continued). - R. J. Mathar, Sep 29 2008
MATHEMATICA
Table[3n^2-2n+6, {n, 0, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {6, 7, 14}, 50] (* Harvey P. Dale, Dec 14 2024 *)
PROG
(PARI) a(n)=3*n^2-2*n+6 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Steven Weintraub (mooncalf_(AT)yahoo.com), Sep 24 2008
STATUS
approved