login
A180354
a(n) = n^4 + 4*n.
5
0, 5, 24, 93, 272, 645, 1320, 2429, 4128, 6597, 10040, 14685, 20784, 28613, 38472, 50685, 65600, 83589, 105048, 130397, 160080, 194565, 234344, 279933, 331872, 390725, 457080, 531549, 614768, 707397, 810120, 923645, 1048704, 1186053
OFFSET
0,2
FORMULA
From Chai Wah Wu, Oct 15 2016: (Start)
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n > 4.
G.f.: x*(3*x^3 - 23*x^2 + x - 5)/(x - 1)^5. (End)
MATHEMATICA
Table[n^4+4n, {n, 0, 40}] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {0, 5, 24, 93, 272}, 40] (* Harvey P. Dale, Jun 12 2017 *)
PROG
(PARI) a(n) = n^4 + 4*n; \\ Michel Marcus, Jan 11 2014
CROSSREFS
Cf. A079908.
Sequence in context: A066316 A271458 A301526 * A212349 A268370 A087095
KEYWORD
easy,nonn
AUTHOR
Odimar Fabeny, Aug 30 2010
EXTENSIONS
a(0) corrected by R. J. Mathar, Sep 19 2010
STATUS
approved