OFFSET
0,2
REFERENCES
J. H. Conway and R. K. Guy, The Book of Numbers, Copernicus Press, NY, 1996, p. 54.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (9,-36,84,-126,126,-84,36,-9,1).
FORMULA
G.f.: -(x^8 +502*x^7 +14608*x^6 +88234*x^5 +156190*x^4 +88234*x^3 +14608*x^2 +502*x +1) / (x -1)^9. - Colin Barker, Dec 21 2012
G.f.: polylog(-9, x)*(1-x)/x. See the g.f. of the rows of A008292 by Vladeta Jovovic, Sep 02 2002. - Wolfdieter Lang, May 10 2021
MATHEMATICA
q=9; lst={}; Do[AppendTo[lst, (n+1)^q-n^q], {n, 0, 2*4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 23 2009 *)
Table[(n+1)^9-n^9, {n, 0, 20}] (* Vincenzo Librandi, Nov 22 2011 *)
PROG
(Magma) [(n+1)^9-n^9: n in [0..30]]; // Vincenzo Librandi, Nov 22 2011
(PARI) a(n)=(n+1)^9-n^9 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Dec 21 2012
STATUS
approved