Problem

Source: IMOC 2023 N3

Tags: number theory



Find all functions $f:\mathbb{N} \rightarrow \mathbb{N}$, such that $f(a)+f(b)+ab \mid a^2f(a)+b^2f(b)+f(a)f(b)$ for all positive integers $a,b$.