OFFSET
0,3
COMMENTS
For n>1 number of 9-digit positive integers in base n.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
FORMULA
a(n) = n^8*(n-1) = n^9 - n^8.
G.f.: 2*x^2*(x^7+374*x^6+9327*x^5+49780*x^4+78095*x^3+38454*x^2+5281*x+128) / (x-1)^10. - Colin Barker, Aug 08 2014
Sum_{n>=2} 1/a(n) = 8 - Sum_{k=2..8} zeta(k). - Amiram Eldar, Jul 05 2020
MATHEMATICA
Table[n^9 - n^8, {n, 0, 40}] (* Vincenzo Librandi, Aug 15 2016 *)
PROG
(PARI) vector(100, n, (n-1)^9 - (n-1)^8) \\ Derek Orr, Aug 03 2014
(Magma) [n^9-n^8: n in [0..40]]; // Vincenzo Librandi, Aug 15 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Martin Renner, Aug 03 2014
STATUS
approved