OFFSET
1,1
COMMENTS
After 10^k terms the number of times m will have appeared will be about 10^(k+2)/(9*m*(m+1)); e.g., 10 will appear just over 10.1% of the time.
FORMULA
a(n) = floor(10^floor(2+log_10(n-1))/n).
EXAMPLE
a(32)=31 since 1/32 = 0.0312500000...
MATHEMATICA
Table[FromDigits[RealDigits[1/n, 10, 2][[1]]], {n, 70}] (* Harvey P. Dale, Jan 19 2018 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, May 11 2001
STATUS
approved