Problem

Source: 2015 IMO Shortlist A2

Tags: IMO Shortlist, functional equation, Hi



Determine all functions $f:\mathbb{Z}\rightarrow\mathbb{Z}$ with the property that \[f(x-f(y))=f(f(x))-f(y)-1\]holds for all $x,y\in\mathbb{Z}$.