Problem

Source: Iranian 3rd round 2016 first Algebra exam

Tags: function, algebra, functional equation, number theory



Find all function $f:\mathbb{N}\rightarrow\mathbb{N}$ such that for all $a,b\in\mathbb{N}$ , $(f(a)+b) f(a+f(b))=(a+f(b))^2$