Problem 5
Let be a function from the set of integers to the set of positive integers. Suppose that, for any two integers and , the difference is divisible by . Prove that, for all integers and with , the number is divisible by .
Step 4 of 5: A squeeze lemma for such triples
In plain words
Order the three values from largest to smallest; the largest divides the gap between the other two, but that gap is too small to be anything but zero, so the two smaller values collapse into one, which then plainly divides the largest.
Detailed analysis
Suppose positive integers satisfy , and , and order them so . Then (since and ), and forces , i.e. . Substituting into gives , hence . So : the two smaller of the three values coincide, and that common value divides the largest.