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 3 of 5: Three values that mutually control each other's difference
In plain words
Feeding the three pairs (x,y), (x,x-y) and (y,y-x) into the hypothesis, and using that f ignores sign, shows f(x), f(y) and f(x-y) each divide the difference of the other two.
Detailed analysis
For any integers : taking in the hypothesis gives directly. Taking gives . Taking gives , and since by the previous step this reads . Altogether, .