OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..1998
FORMULA
a(1)=1; floor(10^n/a(n+1)) = a(n).
EXAMPLE
a(7)=1578 and 6334 is the smallest integer such that 1/6334 = 0.0001578(78118...), hence a(8)=6334.
MAPLE
R:= 1: x:= 1:
for i from 2 to 30 do
x:= floor(10^(i-1)/(x+1))+1;
R:= R, x;
od:
R; # Robert Israel, Sep 11 2024
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Benoit Cloitre, May 01 2002
STATUS
approved