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) = 25*n + a(n-1) - 13 for n>0, a(0)=0. - Vincenzo Librandi, Aug 04 2010
G.f.: x*(12 + 13*x)/(1 - x)^3 . - R. J. Mathar, Aug 04 2016
E.g.f.: (x/2)*(25*x + 24)*exp(x). - G. C. Greubel, Aug 23 2017
a(n) = 3*a(n-1)-3*a(n-2)+a(n-3). - Wesley Ivan Hurt, Apr 23 2021
MATHEMATICA
Table[n (25 n - 1)/2, {n, 0, 40}] (* Bruno Berselli, Oct 14 2016 *)
PROG
(PARI) a(n)=n*(25*n-1)/2 \\ Charles R Greathouse IV, Jun 16 2017
(Magma) [n*(25*n - 1)/2 : n in [0..50]]; // Wesley Ivan Hurt, Apr 23 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved