Problem

Source: 2022 Dutch BxMO TST p1

Tags: number theory, functional



Find all functions $f : Z_{>0} \to Z_{>0}$ for which $f(n) | f(m) - n$ if and only if $n | m$ for all natural numbers $m$ and $n$.