Browse · MathNet
Print51st IMO Shortlisted Problems
algebra
Problem
Let be the set of all positive integers. Find all functions such that the number is a square for all . (U.S.A.)
Solution
First, it is clear that all functions of the form with a constant nonnegative integer satisfy the problem conditions since is a square.
We are left to prove that there are no other functions. We start with the following Lemma. Suppose that for some prime and positive integers . Then .
Proof. Suppose first that , so for some integer . Take some positive integer which is not divisible by and set . Then the positive numbers and are both divisible by but not by . Now, applying the problem conditions, we get that both the numbers and are squares divisible by (and thus by ); this means that the multipliers and are also divisible by , therefore as well.
On the other hand, if is divisible by but not by , then choose the same number and set . Then the positive numbers and are respectively divisible by (but not by ) and by (but not by ). Hence in analogous way we obtain that the numbers and are divisible by , therefore .
We turn to the problem. First, suppose that for some . Then by Lemma we have that is divisible by every prime number, so , or . Therefore, the function is injective.
Next, consider the numbers and . Since the number has no prime divisors, by Lemma the same holds for ; thus .
Now, let . Then we prove by induction that . The base for holds by the definition of . For the step, if we have . Since , we get , as desired.
Finally, we have . Then cannot be -1 since otherwise for we have which is impossible. Hence and for each , and , as desired.
We are left to prove that there are no other functions. We start with the following Lemma. Suppose that for some prime and positive integers . Then .
Proof. Suppose first that , so for some integer . Take some positive integer which is not divisible by and set . Then the positive numbers and are both divisible by but not by . Now, applying the problem conditions, we get that both the numbers and are squares divisible by (and thus by ); this means that the multipliers and are also divisible by , therefore as well.
On the other hand, if is divisible by but not by , then choose the same number and set . Then the positive numbers and are respectively divisible by (but not by ) and by (but not by ). Hence in analogous way we obtain that the numbers and are divisible by , therefore .
We turn to the problem. First, suppose that for some . Then by Lemma we have that is divisible by every prime number, so , or . Therefore, the function is injective.
Next, consider the numbers and . Since the number has no prime divisors, by Lemma the same holds for ; thus .
Now, let . Then we prove by induction that . The base for holds by the definition of . For the step, if we have . Since , we get , as desired.
Finally, we have . Then cannot be -1 since otherwise for we have which is impossible. Hence and for each , and , as desired.
Final answer
All functions of the form f(n) = n + c, where c is a fixed nonnegative integer.
Techniques
Injectivity / surjectivityPrime numbersInduction / smoothing