Problem

Source: 2022 Austrian Federal Competition For Advanced Students, Part 2 p1

Tags: function, number theory, divides



Find all functions $f : Z_{>0} \to Z_{>0}$ with $a - f(b) | af(a) - bf(b)$ for all $a, b \in Z_{>0}$. (Theresia Eisenkoelbl)