Problem

Source: 2021 APMO P5

Tags: function, number theory, functional equation, APMO



Determine all Functions $f:\mathbb{Z} \to \mathbb{Z}$ such that $f(f(a)-b)+bf(2a)$ is a perfect square for all integers $a$ and $b$.