OFFSET
1,1
REFERENCES
J. Brillhart et al., Factorizations of b^n +- 1. Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 2nd edition, 1985; and later supplements.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
K. Beschorner, Factorizations of Repunit Numbers of the form (10^n-1)/9 (111111...). [Retrieved July 30, 2015]
J. Brillhart et al., Factorizations of b^n +- 1, Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 3rd edition, 2002.
Yousuke Koide, Factorizations of Repunit Numbers.
S. S. Wagstaff, Jr., The Cunningham Project
FORMULA
MAPLE
MATHEMATICA
Table[FactorInteger[10^n - 1][[-1, 1]], {n, 1, 40}] (* Vincenzo Librandi, Jul 13 2016 *)
PROG
(PARI) a(n)=vecmax(factor(10^n-1)[, 1]) \\ Simplified by M. F. Hasler, Jul 30 2015
(Magma) [Maximum(PrimeDivisors(10^n-1)): n in [1..45]]; // Vincenzo Librandi, Jul 13 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms to a(100) in b-file from Yousuke Koide added by T. D. Noe, Dec 06 2006
Edited by M. F. Hasler, Jul 30 2015
a(101)-a(322) in b-file from Ray Chandler, Apr 22 2017
a(323)-a(352) in b-file from Max Alekseyev, Apr 26 2022
STATUS
approved