OFFSET
1,1
FORMULA
a(n) is the smallest integer such that if 0< m1/a(m) < r1/a(r) < 1, m<n and r<n, then there is an integer n1 which satisfies m1/a(m) < n1/a(n) < r1/a(r), but there is no integer n2 with n2/a(n)=m1/a(m) or n2/a(n)=r1/a(r)
EXAMPLE
a(3) is not 4 because 2/4 = 1/2, a(3)=5 because 0 < 1/5 < 1/3 < 2/5 < 1/2 < 3/5 < 2/3 < 4/5 < 1; a(4) is not 7 because if 1/3 < x/7 < 2/5 then x is not an integer
CROSSREFS
KEYWORD
nonn
AUTHOR
F. A. González Lahoz, Jan 24 2003
STATUS
approved