Problem

Source: Spanish Communities

Tags: Columbia, function, pigeonhole principle, number theory, relatively prime, number theory unsolved



To each positive integer $ n$ it is assigned a non-negative integer $f(n)$ such that the following conditions are satisfied: (1) $ f(rs) = f(r)+f(s)$ (2) $ f(n) = 0$, if the first digit (from right to left) of $ n$ is 3. (3) $ f(10) = 0$. Find $f(1985)$. Justify your answer.