OFFSET
2,2
COMMENTS
111=3*37, 1111=11*101, 11111=41*271, 111111=3*7*11*13*37,..
LINKS
Ray Chandler, Table of n, a(n) for n = 2..382 (from Kamada link)
Makoto Kamada, Factorizations of 11...11 (Repunit).
MATHEMATICA
lst={}; Do[If[Length[FactorInteger[(10^n-1)/9]]==1, lst=Append[lst, 0], lst=Append[lst, FactorInteger[(10^n-1)/9][[2, 1]]]], {n, 2, 60}]; lst
(* Second program: *)
Table[If[Length@ # < 2, 0, #[[2, 1]]] &@ FactorInteger@ FromDigits@ ConstantArray[1, n], {n, 2, 46}] (* Michael De Vlieger, May 10 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Apr 29 2010
EXTENSIONS
Offset corrected to 2, description clarified by Ray Chandler, May 10 2017
b-file truncated at uncertain a(383) at the suggestion of Eric Chen by Max Alekseyev, May 13 2022
STATUS
approved