119 pairs of (x,y) such that (x+my) and (mx+y) are integers , 0<x,y<1,
Source: Dutch NMO 2010 p4
September 6, 2019
number theoryInteger
Problem Statement
(a) Determine all pairs (x,y) of (real) numbers with 0<x<1 and 0<y<1 for which x+3y and 3x+y are both integer. An example is (x,y)=(38,87), because x+3y=83+821=824=3 and 3x+y=89+87=816=2.(b) Determine the integer m>2 for which there are exactly 119 pairs (x,y) with 0<x<1 and 0<y<1 such that x+my and mx+y are integers.Remark: if u=v, the pairs (u,v) and (v,u) are different.