login
A111690
Least integer multiple of 1/n, truncated to n digits after decimal.
0
1, 1, 333, 1, 1, 83333, 1428571, 1, 111111111, 1, 909090909, 83333333333, 76923076923, 7142857142857, 33333333333333, 1, 588235294117647, 11111111111111111, 52631578947368421, 1, 47619047619047619047
OFFSET
1,3
COMMENTS
The "least integer multiple" of a rational number is also called its "numerator". The denominators are 1,2,1e3,4,5,5e5,1e7,8,1e9,10,1e10,1e12,1e12,1e14,5e14,16,1e16,2e17,1e18,20,1e21. - David Wasserman, Feb 11 2009
Duplicate of A095199. - Georg Fischer, Oct 02 2018
EXAMPLE
a(7) = 1428571, 1/7= 0.1428571...
a(8) = 1, 1/8 = .12500000.
PROG
(PARI) a(n) = numerator((10^n\n)/10^n); \\ David Wasserman, Feb 11 2009
CROSSREFS
Sequence in context: A114084 A257892 A235020 * A095199 A158081 A248062
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Aug 17 2005
EXTENSIONS
More terms from David Wasserman, Feb 11 2009
STATUS
approved