IMO Shortlist 2015 problem A2


Kvaliteta:
  Avg: 3.0
Težina:
  Avg: 6.0

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

(Croatia)

Source: https://www.imo-official.org/problems/IMO2015SL.pdf