Problem

Source: Pan African Olympiad 2010

Tags: function, algebra, domain, induction, algebra proposed



Does there exist a function $f:\mathbb{Z}\to\mathbb{Z}$ such that $f(x+f(y))=f(x)-y$ for all integers $x$ and $y$?