Problem

Source: 2023 Israel TST Test 1 P3

Tags: TST, functional equation, algebra, function



Find all functions $f:\mathbb{Z}\to \mathbb{Z}_{>0}$ for which \[f(x+f(y))^2+f(y+f(x))^2=f(f(x)+f(y))^2+1\]holds for any $x,y\in \mathbb{Z}$.