Problem

Source: Baltic Way 2011

Tags: algebra, functional equation



Let $f:\mathbb{Z}\to\mathbb{Z}$ be a function such that for all integers $x$ and $y$, the following holds: \[f(f(x)-y)=f(y)-f(f(x)).\] Show that $f$ is bounded.