OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 3*n^2 + 16*n.
a(n) = 6*n + a(n-1) + 13 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
E.g.f.: (3*x^2 + 19*x)*exp(x). - G. C. Greubel, Jul 20 2017
MATHEMATICA
a[n_]:=Sum[6*i+13, {i, 1, n}]; (* Vladimir Joseph Stephan Orlovsky, Dec 04 2008 *)
Table[n(3n+16), {n, 0, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 19, 44}, 50] (* Harvey P. Dale, Aug 23 2020 *)
PROG
(PARI) a(n)=n*(3*n+16) \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, May 22 2008
STATUS
approved