OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Felix P. Muga II, Extending the Golden Ratio and the Binet-de Moivre Formula, Preprint on ResearchGate, March 2014.
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: x*(31-29*x)/(1-x)^3. - R. J. Mathar, Nov 14 2007
a(n) = 2*n + a(n-1) + 29 (with a(0)=0). - Vincenzo Librandi, Aug 03 2010
a(0)=0, a(1)=31, a(2)=64, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - Harvey P. Dale, Mar 06 2015
From Amiram Eldar, Jan 16 2021: (Start)
Sum_{n>=1} 1/a(n) = H(30)/30 = A001008(30)/A102928(30) = 9304682830147/69872686884000, where H(k) is the k-th harmonic number.
Sum_{n>=1} (-1)^(n+1)/a(n) = 225175759291/9981812412000. (End)
E.g.f.: x*(31 + x)*exp(x). - G. C. Greubel, Mar 13 2022
MATHEMATICA
Table[n(n+30), {n, 0, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 31, 64}, 50] (* Harvey P. Dale, Mar 06 2015 *)
PROG
(PARI) a(n)=n*(n+30) \\ Charles R Greathouse IV, Jun 17 2017
(Sage) [n*(n+30) for n in (0..50)] # G. C. Greubel, Mar 13 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Aug 28 2007
STATUS
approved