Problem

Source: 2020 Caucasus Mathematical Olympiad Seniors Problem 4

Tags: functional equation, algebra, number theory



Find all functions $f : \mathbb{N}\rightarrow{\mathbb{N}}$ such that for all positive integers $m$ and $n$ the number $f(m)+n-m$ is divisible by $f(n)$.