OFFSET
0,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) = n^4 + 10*n^3 + 32*n^2 + 35*n + 7.
G.f.: (5*x^4 - 26*x^3 + 54*x^2 - 50*x -7) / (x-1)^5. - Colin Barker, Jan 16 2013
E.g.f.: (7 + 78*x + 69*x^2 + 16*x^3 + x^4)*exp(x). - G. C. Greubel, Nov 29 2018
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 1}, {7, 85, 301, 751, 1555}, 40] (* Harvey P. Dale, Dec 09 2015 *)
Table[n^4 + 10 n^3 + 32 n^2 + 35 n + 7, {n, 0, 40}] (* Vincenzo Librandi, Sep 22 2016 *)
PROG
(Magma) [n^4+10*n^3+32*n^2+35*n+7: n in [0..40]]; // Vincenzo Librandi, Sep 22 2016
(PARI) vector(40, n, n--; n^4+10*n^3+32*n^2+35*n+7) \\ G. C. Greubel, Nov 29 2018
(Sage) [(n^4+10*n^3+32*n^2+35*n+7) for n in range(40)] # G. C. Greubel, Nov 29 2018
(GAP) List([0..40], n -> n^4+10*n^3+32*n^2+35*n+7); # G. C. Greubel, Nov 29 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Christian G. Bower, Dec 02 2000
STATUS
approved