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) = 23*n + a(n-1) - 12 for n>0, a(0)=0. - Vincenzo Librandi, Aug 04 2010
From Colin Barker, Jun 05 2012: (Start)
G.f.: x*(11 + 12*x)/(1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
E.g.f.: (x/2)*(23*x + 22)*exp(x). - G. C. Greubel, Aug 23 2017
MATHEMATICA
Table[n (23 n - 1)/2, {n, 0, 40}] (* Bruno Berselli, Oct 14 2016 *)
PROG
(PARI) a(n)=n*(23*n-1)/2 \\ Charles R Greathouse IV, Jun 16 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved