OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
a(n) = n^5 + 4n.
G.f.: 5*x*(x^4+2*x^3+18*x^2+2*x+1)/(x-1)^6. [Colin Barker, Dec 21 2012]
MATHEMATICA
Table[n^5+4n, {n, 0, 30}] (* Harvey P. Dale, Jul 09 2025 *)
(* Alternative: *)
LinearRecurrence[{6, -15, 20, -15, 6, -1}, {0, 5, 40, 255, 1040, 3145}, 30] (* Harvey P. Dale, Jul 09 2025 *)
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
N. J. A. Sloane, Apr 16 2000
STATUS
approved
