Problem

Source: IMO 2019 Problem 1

Tags: functional equation, IMO Shortlist, IMO 2019, IMO P1



Let $\mathbb{Z}$ be the set of integers. Determine all functions $f: \mathbb{Z} \rightarrow \mathbb{Z}$ such that, for all integers $a$ and $b$, $$f(2a)+2f(b)=f(f(a+b)).$$Proposed by Liam Baker, South Africa