Problem

Source: 2022 IRN TWN Friendly math competition P6

Tags: function, number theory, algebra, Iran, Taiwan



Find all completely multipiclative functions $f:\mathbb{Z}\rightarrow \mathbb{Z}_{\geqslant 0}$ such that for any $a,b\in \mathbb{Z}$ and $b\neq 0$, there exist integers $q,r$ such that $$a=bq+r$$and $$f(r)<f(b)$$ Proposed by Navid Safaei