Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO 2016 Shortlisted Problems

2016 number theory

Problem

Let be a positive integer which is not a square number. Denote by the set of all positive integers such that for some integers and with . Denote by the set of all positive integers such that (1) is satisfied for some integers and with . Prove that .
Solution
We first prove the following preliminary result. - Claim. For fixed , let be integers satisfying (1). Then the numbers defined by are integers and satisfy (1) (with replaced by respectively).

Proof. Since and both and are integers. Let and . The relation (1) can be rewritten as By Vieta's Theorem, the number satisfies Since and are defined so that and , we can reverse the process and verify (1) for .

We first show that . Take any so that (1) is satisfied for some integers with . Clearly, and we may assume is positive. Since is not a square, we have . Hence, we get . Define By the Claim, are integers satisfying (1). Also, we have This implies and hence .

Next, we shall show that . Take any so that (1) is satisfied for some integers with . Again, we may assume is positive. Among all such representations of , we choose the one with smallest . Define By the Claim, are integers satisfying (1). Since , we get . Therefore, we have and . It follows that If , we get a contradiction due to the minimality of . Therefore, we must have , which means so that .

The two subset relations combine to give .

---

Alternative solution.

The relation (1) is equivalent to Motivated by Pell's Equation, we prove the following, which is essentially the same as the Claim in Solution 1. - Claim. If is a solution to (2), then is also a solution to (2).

Proof. We check directly that If (2) is satisfied for some and nonnegative integer , then clearly (1) implies . Also, we have since is not a square number. By the Claim, consider another solution to (2) defined by It satisfies . Then we can replace the old solution by a new one which has a larger value in . After a finite number of replacements, we must get a solution with . This shows .

If (2) is satisfied for some and nonnegative integer , by the Claim we consider another solution to (2) defined by From (2), we get . This implies and hence . On the other hand, the relation (1) implies . Then it is clear that . These combine to give , which means we have found a solution to (2) with having a smaller absolute value. After a finite number of steps, we shall obtain a solution with . This shows .

The desired result follows from and .

---

Alternative solution.

It suffices to show is a subset of . We take any , which means there exist integers satisfying (1). Since is not a square, it follows that . As in Solution 2, the result follows readily once we have proved the existence of a solution () to (1) with , and, in case of , another solution () with .

Without loss of generality, assume . Let and . Then and (1) becomes This is the same as Let . Then . By Vieta's Theorem, satisfies This gives . As is an integer, must be even. Therefore, and are integers. By reversing the process, we can see that is a solution to (1), with . This completes the first half of the proof.

Suppose . Then and (3) can be rewritten as Let . By Vieta's Theorem, we have and By and (3), we have . If , then . This shows and . If , then and imply . In any case, since is even from (4), we can define and so that (1) is satisfied with , as desired. The proof is thus complete.

Techniques

Pell's equationsVieta's formulasTechniques: modulo, size analysis, order analysis, inequalities