MathDB
Distance between sets of fractions - OIMU 2006 Problem 1

Source:

August 30, 2010
modular arithmeticnumber theory proposednumber theory

Problem Statement

Let m,nm,n be positive integers greater than 11. We define the sets Pm={1m,2m,,m1m}P_m=\left\{\frac{1}{m},\frac{2}{m},\cdots,\frac{m-1}{m}\right\} and Pn={1n,2n,,n1n}P_n=\left\{\frac{1}{n},\frac{2}{n},\cdots,\frac{n-1}{n}\right\}.
Find the distance between PmP_m and PnP_n, that is defined as min{ab:aPm,bPn}\min\{|a-b|:a\in P_m,b\in P_n\}