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) - 11 for n>0, a(0)=0. - Vincenzo Librandi, Aug 04 2010
G.f.: x*(12 + 11*x)/(1 - x)^3 . - R. J. Mathar, Aug 04 2016
E.g.f.: (x/2)*(23*x + 24)*exp(x). - G. C. Greubel, Aug 23 2017
MATHEMATICA
Table[n (23 n + 1)/2, {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 12, 47}, 40] (* Harvey P. Dale, Aug 16 2016 *)
PROG
(PARI) a(n)=n*(23*n+1)/2 \\ Charles R Greathouse IV, Jun 16 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved