Skip to main content
OlympiadHQ

Browse · MathNet

Print

International Mathematical Olympiad Shortlisted Problems

algebra

Problem

Let be the set of positive integers. Find all functions such that for all positive integers and .
Solution
Answer. .

Solution 1. Setting tells us that . Since , we must have , so . Plugging in then tells us that , which implies that for all . Setting gives , so which we rewrite as . Therefore for all . This is trivially true for also. It follows that for all . This function obviously satisfies the desired property.

Solution 2. Setting we get . This implies that for all . Now let be any positive integer, and let be a prime number. Note that also. Plugging in we learn that divides . Since cannot equal 1, it must equal . Therefore . But , so we must have , i.e., .

Solution 3. Plugging we obtain , so for the constant . Assume that for some fixed . When is large enough (e.g. ) we have so we must have . This implies that which is impossible for . It follows that is the identity function.
Final answer
f(n) = n for all positive integers n

Techniques

Functional EquationsDivisibility / FactorizationPrime numbers