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 (13,-78,286,-715,1287,-1716,1716,-1287,715,-286,78,-13,1).
FORMULA
G.f.: -(x^12 +8178*x^11 +1479726*x^10 +45533450*x^9 +423281535*x^8 +1505621508*x^7 +2275172004*x^6 +1505621508*x^5 +423281535*x^4 +45533450*x^3 +1479726*x^2 +8178*x +1) / (x-1)^13. - Colin Barker, Sep 25 2014
G.f.: polylog(-13, 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=13; lst={}; Do[AppendTo[lst, (n+1)^q-n^q], {n, 0, 4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 23 2009 *)
Table[(n+1)^13-n^13, {n, 0, 20}] (* Vincenzo Librandi, Nov 22 2011 *)
PROG
(Magma) [(n+1)^13-n^13: n in [0..20]]; // Vincenzo Librandi, Nov 22 2011
(PARI) a(n) = (n+1)^13 - n^13; \\ Michel Marcus, Sep 25 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved