MathDB
pmo problem 3

Source: PMO

March 19, 2021
functional equationnumber theoryPMO

Problem Statement

Denote by Q+\mathbb{Q}^+ the set of positive rational numbers. A function f:Q+Qf : \mathbb{Q}^+ \to \mathbb{Q} satisfies
f(p)=1f(p) = 1 for all primes pp, and
f(ab)=af(b)+bf(a)f(ab) = af(b) + bf(a) for all a,bQ+ a,b \in \mathbb{Q}^+ .
For which positive integers nn does the equation nf(c)=cnf(c) = c have at least one solution cc in Q+\mathbb{Q}^+?