Browse · MathNet
Print49th International Mathematical Olympiad Spain
number theory
Problem
For every let denote the number of (positive) divisors of . Find all functions with the following properties: (i) for all ; (ii) divides for all .
Solution
There is a unique solution: the function defined by and Direct verification shows that this function meets the requirements.
Conversely, let satisfy (i) and (ii). Applying (i) for gives , so . In the sequel we prove that (1) holds for all . Notice that implies in view of (i). The formula will be used throughout.
Let be a prime. Since , the formula just mentioned yields for some prime ; in particular is a prime. We prove that for all primes .
Suppose that is odd and for a prime . Applying (ii) first with , and then with shows that divides both and . If then the odd prime does not divide , hence the greatest common divisor of and is a divisor of . Thus divides which is a prime. As , we obtain which is impossible. So , i.e. .
For the same argument with and shows that divides both and . If the prime is odd then divides , so . However then which is false. In conclusion .
Next, for each the prime divisors of are among the ones of . Indeed, let be the least prime divisor of . Apply (ii) with and to obtain that divides . Write where is coprime to and is a product of primes dividing . Since divides and is coprime to , it divides ; hence . But (i) gives , and as and are coprime. Therefore is a divisor of less than , meaning that and proving the claim.
Now (1) is immediate for prime powers. If is a prime and , by the above the only prime factor of is (a prime factor does exist as ). So for some , and (i) yields . Hence , as needed.
Let us finally show that (1) is true for a general with prime factorization . We saw that the prime factorization of has the form . For , set and in (ii) to infer that divides . Hence divides , and because is coprime to , it follows that divides . So for all . Combined with (i), these conclusions imply Hence all inequalities must be equalities, , implying that (1) holds true. The proof is complete.
Conversely, let satisfy (i) and (ii). Applying (i) for gives , so . In the sequel we prove that (1) holds for all . Notice that implies in view of (i). The formula will be used throughout.
Let be a prime. Since , the formula just mentioned yields for some prime ; in particular is a prime. We prove that for all primes .
Suppose that is odd and for a prime . Applying (ii) first with , and then with shows that divides both and . If then the odd prime does not divide , hence the greatest common divisor of and is a divisor of . Thus divides which is a prime. As , we obtain which is impossible. So , i.e. .
For the same argument with and shows that divides both and . If the prime is odd then divides , so . However then which is false. In conclusion .
Next, for each the prime divisors of are among the ones of . Indeed, let be the least prime divisor of . Apply (ii) with and to obtain that divides . Write where is coprime to and is a product of primes dividing . Since divides and is coprime to , it divides ; hence . But (i) gives , and as and are coprime. Therefore is a divisor of less than , meaning that and proving the claim.
Now (1) is immediate for prime powers. If is a prime and , by the above the only prime factor of is (a prime factor does exist as ). So for some , and (i) yields . Hence , as needed.
Let us finally show that (1) is true for a general with prime factorization . We saw that the prime factorization of has the form . For , set and in (ii) to infer that divides . Hence divides , and because is coprime to , it follows that divides . So for all . Combined with (i), these conclusions imply Hence all inequalities must be equalities, , implying that (1) holds true. The proof is complete.
Final answer
The unique function is given by f(1)=1 and, for n>1 with prime factorization n=∏ p_i^{a_i}, f(n)=∏ p_i^{p_i^{a_i}−1}.
Techniques
τ (number of divisors)Prime numbersGreatest common divisors (gcd)Factorization techniques