Problem

Source: IMO Shortlist 2013, Number Theory #1

Tags: number theory, algebra, functional equation, IMO Shortlist



Let $\mathbb{Z} _{>0}$ be the set of positive integers. Find all functions $f: \mathbb{Z} _{>0}\rightarrow \mathbb{Z} _{>0}$ such that \[ m^2 + f(n) \mid mf(m) +n \] for all positive integers $m$ and $n$.