OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Index entries for linear recurrences with constant coefficients, signature (6,-15,20,-15,6,-1).
FORMULA
a(n) = n^5 + 5n^3 + 10n for n > 10. [Charles R Greathouse IV, Nov 21 2011]
G.f.: (167817 - 749309 x + 1354106 x^2 - 1235214 x^3 + 567821 x^4 -
105101 x^5)/(-1 + x)^6 - Harvey P. Dale, Jul 10 2021
MAPLE
MATHEMATICA
Table[Ceiling[(n+1/n)^5], {n, 50}] (* or *) LinearRecurrence[{6, -15, 20, -15, 6, -1}, {32, 98, 412, 1387, 3803, 8918, 18594, 35410, 62786, 105102, 167817, 257593, 382409, 551685, 776401, 1069217}, 40] (* Harvey P. Dale, Jul 10 2021 *)
PROG
(Magma) [Ceiling((n+1/n)^5): n in [1..50]]
(PARI) a(n)=ceil((n+1/n)^5) \\ Charles R Greathouse IV, Nov 21 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 19 2011
STATUS
approved