OFFSET
1,1
COMMENTS
The initial terms in the sequence are multiples of either 7 or 13, but the sequence is not exclusively so. a(45) = 297 whose factors include neither 7 nor 13. Next is a(57) = 407 whose factors are 11 and 37.
EXAMPLE
a(1) = 7 because 1/7 = 0.142857142857142857+, whose repeating decimal (142857) is 6 digits long.
a(57) = 407 because 1/407 = 0.0024570024570024+, whose repeating decimal (002457) is 6 digits long.
MATHEMATICA
Transpose[Select[Table[{n, Length[RealDigits[1/n][[1, -1]]]}, {n, 500}], #[[2]]==6&]][[1]] (* Harvey P. Dale, Dec 04 2010 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Gil Broussard, Aug 15 2006
STATUS
approved