Skip to main content
OlympiadHQ

Browse · MathNet

Print

BMO 2017

2017 algebra

Problem

Find all the functions such that: for any
Solution
We will consider 2 cases, whether the range of the functions is infinite or finite or in other words the function takes infinite or finite values.

Case 1. The function has an infinite range. Let's fix a random natural number and let be any natural number. Then using (1) we have Since is a fixed natural number, then is as well a fixed natural number, and since the above result is true for any and the function has an infinite range, we can choose such that . This implies that for any natural number . We now check that it is a solution. Since and it is straightforward that .

Case 2. The function has a finite range. Since the function takes finite values, then there exists a natural number such that for any natural number . It is clear that there exists at least one natural number (where ) such that for infinitely many natural numbers . Let be any natural numbers such that . Using (1) we have Since this is true for any natural number such that and since there exist infinitely many natural numbers such that , we can choose the natural number such that , which implies that , or in other words for infinitely many natural numbers . Let's fix a random natural number and let be any natural number with . Then using (1) we have Since is a fixed random natural number, then is a fixed non-negative integer and since is any natural number such that and since there exist infinitely many numbers such that , we can choose the natural number such that . This implies for any natural number . We now check that it is a solution. Since and it is straightforward that .

So, all the functions that satisfy the given condition are for any or for any .
Final answer
f(n) = n^2 for all natural n, or f(n) = 1 for all natural n

Techniques

Injectivity / surjectivityDivisibility / FactorizationPigeonhole principle