Given an arbitrary fraction in reduced form whose
denominator is larger than 99, we want to find the pair of
fractions in that are closest to .
In other words, we want to identify fractions and
in such that
with the property that there is no fraction
in such that
and there is no fraction in such that
.
For instance, if is , then
and
.
Here is another example--if
, then
and
.