Question 50
Let $A$ be a finite set of natural numbers. Determine all functions $f:\mathbb N\to A$ such that
$$
f(|x-y|)=|f(x)-f(y)|\qquad\text{for all }x,y\in\mathbb N.
$$
$$
f(|x-y|)=|f(x)-f(y)|\qquad\text{for all }x,y\in\mathbb N.
$$
Math Olympiad Vault · MathNet 2021 — Part 10