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) = a(n-1) + 25*n - 12 for n>0, a(0)=0. - Vincenzo Librandi, Aug 04 2010
a(0)=0, a(1)=13, a(2)=51; for n>2, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, May 04 2014
From G. C. Greubel, Aug 23 2017: (Start)
G.f.: x*(12*x + 13)/(1-x)^3.
E.g.f.: (x/2)*(25*x + 26)*exp(x). (End)
MATHEMATICA
Table[n/2 (25 n + 1), {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 13, 51}, 40] (* Harvey P. Dale, May 04 2014 *)
PROG
(PARI) a(n)=n*(25*n+1)/2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved