Skip to main content
OlympiadHQ

Browse · MathNet

Print

51st IMO Shortlisted Problems

algebra

Problem

Suppose that and are two functions defined on the set of positive integers and taking positive integer values. Suppose also that the equations and hold for all positive integers. Prove that for all positive integer .
Solution
Throughout the solution, by we denote the set of all positive integers. For any function and for any positive integer , define (in particular, ).

Observe that for any positive integer , and similarly . Now let and be the minimal values attained by and , respectively; say . Then we have , so the function attains all values from the set , while attains all the values from the set .

Next, note that implies ; surely, the converse implication also holds. Now, we say that and are similar (and write ) if (equivalently, ). For every , we define ; surely, for all , so whenever .

Now we investigate the structure of the sets .

Claim 1. Suppose that ; then , that is, . Consequently, each class contains at most one element from , as well as at most one element from .

Proof. If , then we have , so . The second statement follows now from the sets of values of and .

Next, we clarify which classes do not contain large elements.

Claim 2. For any , we have if and only if . Analogously, if and only if .

Proof. We will prove that ; the proof of the second statement is similar.

Note that implies that there exists some satisfying , so , and hence . Conversely, if then for some , which in turn follows , and hence .

Claim 2 implies that there exists exactly one class contained in (that is, the class ), as well as exactly one class contained in (the class ). Assume for a moment that ; then is contained in as well, hence it coincides with . So, we get that

Claim 3. .

Proof. By Claim 2, we have , so should contain some element by Claim 2 again. If , then contains two elements which is impossible by Claim 1. Therefore, . Similarly, .

Now we are ready to prove the problem statement. First, we establish the following

Claim 4. For every integer .

Proof. Induction on . For , the statement follows from (1) and Claim 3. Next, for from the induction hypothesis we have . The equality is analogous.

Finally, for each , we have for some , so and hence . It follows that by Claim 4.

---

Alternative solution.

We start with the same observations, introducing the relation and proving Claim 1 from the previous solution.

Note that since otherwise we have and hence , which is false.

Claim 2'. .

Proof. We can assume that . Since , there exists some such that , which is equivalent to and . Since , by Claim 1 we have , which together with proves the Claim.

Now, almost the same method allows to find the values and .

Claim . .

Proof. Assume the contrary; then , hence there exist some such that and (as ). Now we get , so , and by Claim 1 we get ; this is impossible. The equality is similar.

Now, we are prepared for the proof of the problem statement. First, we prove it for .

Claim 4'. For each integer , we have .

Proof. Induction on . The base case is provided by Claim , while the induction step follows from and the similar computation for .

Finally, for an arbitrary we have , so by Claim we have , hence .

Techniques

Injectivity / surjectivityExistential quantifiers