login
A195859
n^8-n
5
0, 0, 254, 6558, 65532, 390620, 1679610, 5764794, 16777208, 43046712, 99999990, 214358870, 429981684, 815730708, 1475789042, 2562890610, 4294967280, 6975757424, 11019960558, 16983563022, 25599999980, 37822859340, 54875873514, 78310985258, 110075314152
OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
G.f. -2*x^2*(127+2136*x+7827*x^2+7792*x^3+2157*x^4+120*x^5+x^6) / ( (x-1)^9 ). - R. J. Mathar, Sep 30 2011
a(n) = -n*A024005(n).
MATHEMATICA
Table[n^8 - n, {n, 0, 40}] (* and *) LinearRecurrence[{9, -36, 84, -126, 126, -84, 36, -9, 1}, {0, 0, 254, 6558, 65532, 390620, 1679610, 5764794, 16777208}, 40] (* Vladimir Joseph Stephan Orlovsky, Feb 21 2012 *)
PROG
(Magma) [(n^8-n): n in [0..30]]
(PARI) a(n)=n^8-n \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Sequence in context: A366553 A255178 A196738 * A250566 A278155 A251860
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 30 2011
STATUS
approved