Skip to main content
OlympiadHQ

Browse · MathNet

Print

BxMO Team Selection Test

Netherlands algebra

Problem

Find all functions for which if and only if for all natural numbers and .
Solution
Substituting gives , so for all natural numbers we have . Applying this to the original condition, it follows that if and only if .

We show that by induction on the number of prime factors of . The base of the induction is the case . In this case, we have , therefore .

Suppose that for all natural numbers with fewer prime factors than , and suppose for a contradiction that is a strict divisor of . Then there exists a prime number such that , by the induction hypothesis. But does not divide , which contracts our assumption that . Therefore , and this concludes the induction.

Note that is indeed a solution, since holds if and only if .
Final answer
f(n) = n for all positive integers n

Techniques

Functional EquationsPrime numbers