OFFSET
1,2
COMMENTS
a(n) mod 11 = 0 iff n mod 11 > 0; a(A008593(n)) = 10.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (11,-55,165,-330,462,-462,330,-165,55,-11,1).
FORMULA
From G. C. Greubel, Aug 08 2019: (Start)
G.f.: x^2*(1023 + 47795*x + 455312*x^2 + 1310144*x^3 + 1310606*x^4 + 454982*x^5 + 47960*x^6 + 968*x^7 + 11*x^8 + x^9)/(1-x)^11.
E.g.f.: 1 +(-1 + x + 511*x^2 + 9330*x^3 + 34105*x^4 + 42525*x^5 + 22827*x^6 + 5880*x^7 + 750*x^8 + 45*x^9 + x^10)*exp(x). (End)
MAPLE
MATHEMATICA
Table[n^10-1, {n, 40}] (* Wesley Ivan Hurt, Jan 22 2014 *)
PROG
(Magma) [n^10 - 1:n in [1..40]]; // Vincenzo Librandi, Dec 27 2010
(PARI) vector(25, n, n^10 -1) \\ G. C. Greubel, Aug 08 2019
(Sage) [n^10 -1 for n in (1..25)] # G. C. Greubel, Aug 08 2019
(GAP) List([1..25], n-> n^10 -1); # G. C. Greubel, Aug 08 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Oct 16 2006
STATUS
approved