|
|
A005422
|
|
Largest prime factor of 10^n - 1.
(Formerly M2889)
|
|
14
|
|
|
3, 11, 37, 101, 271, 37, 4649, 137, 333667, 9091, 513239, 9901, 265371653, 909091, 2906161, 5882353, 5363222357, 333667, 1111111111111111111, 27961, 10838689, 513239, 11111111111111111111111, 99990001, 182521213001, 1058313049
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
J. Brillhart et al., Factorizations of b^n +- 1, Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 3rd edition, 2002.
|
|
FORMULA
|
|
|
MAPLE
|
10^n-1 ;
|
|
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
|
Same as A003020 except for the additional a(1) = 3.
Cf. similar sequences listed in A274906.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Terms to a(100) in b-file from Yousuke Koide added by T. D. Noe, Dec 06 2006
|
|
STATUS
|
approved
|
|
|
|