Problem

Source: BMO 2017, problem 3

Tags: number theory, algebra



Let $\mathbb{N}$ denote the set of positive integers. Find all functions $f:\mathbb{N}\longrightarrow\mathbb{N}$ such that \[n+f(m)\mid f(n)+nf(m)\]for all $m,n\in \mathbb{N}$ Proposed by Dorlir Ahmeti, Albania