OFFSET
0,2
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
a(n) = 3*n^2 + 10*n.
a(n) = 6*n + a(n-1) + 7, with a(0)=0. - Vincenzo Librandi, Aug 03 2010
G.f.: x*(13 - 7*x)/(1 - x)^3. - Arkadiusz Wesolowski, Dec 24 2011
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3), with a(0)=0, a(1)=13, a(2)=32. - Harvey P. Dale, Jun 05 2012
E.g.f.: (3*x^2 + 13*x)*exp(x). - G. C. Greubel, Jul 20 2017
MATHEMATICA
Table[n (3 n + 10), {n, 0, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 13, 32}, 50] (* Harvey P. Dale, Jun 05 2012 *)
PROG
(PARI) a(n)=n*(3*n+10) \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, May 22 2008
STATUS
approved