MathLabs

Problem 5

Let ff be a function from the set of integers to the set of positive integers. Suppose that, for any two integers mm and nn, the difference f(m)−f(n)f(m)-f(n) is divisible by f(m−n)f(m-n). Prove that, for all integers mm and nn with f(m)≤f(n)f(m)\le f(n), the number f(n)f(n) is divisible by f(m)f(m).
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.

f(x−y)∣f(x)−f(y),  f(y)∣f(x)−f(x−y),  f(x)∣f(y)−f(x−y)f(x-y)\mid f(x)-f(y),\ \ f(y)\mid f(x)-f(x-y),\ \ f(x)\mid f(y)-f(x-y)
Detailed analysis

For any integers x,yx,y: taking m=x,n=ym=x,n=y in the hypothesis gives f(x−y)∣f(x)−f(y)f(x-y)\mid f(x)-f(y) directly. Taking m=x,n=x−ym=x,n=x-y gives f(y)∣f(x)−f(x−y)f(y)\mid f(x)-f(x-y). Taking m=y,n=y−xm=y,n=y-x gives f(x)∣f(y)−f(y−x)f(x)\mid f(y)-f(y-x), and since f(y−x)=f(x−y)f(y-x)=f(x-y) by the previous step this reads f(x)∣f(y)−f(x−y)f(x)\mid f(y)-f(x-y). Altogether, f(x−y)∣f(x)−f(y),  f(y)∣f(x)−f(x−y),  f(x)∣f(y)−f(x−y)f(x-y)\mid f(x)-f(y),\ \ f(y)\mid f(x)-f(x-y),\ \ f(x)\mid f(y)-f(x-y).