Browse · MathNet
Print37th Iranian Mathematical Olympiad
Iran algebra
Problem
Find all functions such that for any distinct positive integers , , , is a perfect square if and only if is a perfect square.
Solution
Claim i. is injective. Proof. Assume there exist two natural numbers and such that and . Now choose and such that then we have for some natural number . Therefore, so must be square of some natural number . Hence and we have If we choose large enough it gives us a contradiction.
Claim ii. For any we have . Proof. Assume some arbitrary and with , and choose for some large . Then and So we have Assume that . If we choose large enough, is a large number too (it's trivial because of the injectivity). But we know That means has an upper bound. Contradiction.
Claim ii implies that is a linear function so and becomes a perfect-square if and only if does. That means is a perfect-square for any . In particular hence which is a contradiction unless (because the left hand side is either 0 or very big for big ). Now obviously and we get , .
Claim ii. For any we have . Proof. Assume some arbitrary and with , and choose for some large . Then and So we have Assume that . If we choose large enough, is a large number too (it's trivial because of the injectivity). But we know That means has an upper bound. Contradiction.
Claim ii implies that is a linear function so and becomes a perfect-square if and only if does. That means is a perfect-square for any . In particular hence which is a contradiction unless (because the left hand side is either 0 or very big for big ). Now obviously and we get , .
Final answer
f(n) = k^2 n for some positive integer k
Techniques
Injectivity / surjectivityExistential quantifiers