OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..2500
Paul Cooijmans, Odds.
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(1)=115, a(2)=236, a(3)=369, a(4)=520, a(n) = 4*a(n-1) -6*a(n-2) +4*a(n-3) - a(n-4). - Harvey P. Dale, Mar 14 2015
From G. C. Greubel, Oct 29 2024: (Start)
G.f.: x*(115 - 224*x + 115*x^2)/(1 - x)^4.
E.g.f.: x*(115 + 3*x + x^2)*exp(x). (End)
MATHEMATICA
Table[n^3+114n, {n, 40}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {115, 236, 369, 520}, 40] (* Harvey P. Dale, Mar 14 2015 *)
PROG
(PARI) for(n=1, 50, print1(n^3+114*n, ", "))
(Magma) [n*(n^2+114): n in [1..40]]; // G. C. Greubel, Oct 29 2024
(SageMath) [n*(n^2+114) for n in range(1, 41)] # G. C. Greubel, Oct 29 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Herman Jamke (hermanjamke(AT)fastmail.fm), Sep 20 2006
STATUS
approved