MathDB
distance between real x,y by d(x,y) =\sqrt{([x]-[y])^2+(\{x\}-\{y\})^2}

Source: Spanish Mathematical Olympiad 1986 P1

August 2, 2018
distancealgebraset

Problem Statement

Define the distance between real numbers xx and yy by d(x,y)=([x][y])2+({x}{y})2d(x,y) =\sqrt{([x]-[y])^2+(\{x\}-\{y\})^2} . Determine (as a union of intervals) the set of real numbers whose distance from 3/23/2 is less than 202/100202/100 .