Skip to main content
OlympiadHQ

Browse · MathNet

Print

Girls European Mathematical Olympiad

North Macedonia number theory

Problem

Let be integers greater than , and let be positive integers not greater than . Prove that there exist positive integers not greater than such that where denotes the greatest common divisor of .
Solution
Suppose without loss of generality that is the smallest of the . If , then the problem is simple: either all the are equal, or and for some . In the first case we can take (say) , , and the rest of the can be arbitrary, and we have In the second case, we can take , , and the rest of the arbitrary, and again So from now on we can suppose that .

Now, let us suppose the desired do not exist, and seek a contradiction. Then, for any choice of , we have Also, we have Thus there are at most possible values for the greatest common divisor. However, there are choices for the -tuple . Then, by the pigeonhole principle, there are two -tuples that yield the same values for the greatest common divisor, say . But since , for each there can be at most one choice of such that is divisible by and therefore there can be at most one -tuple yielding as the greatest common divisor. This is the desired contradiction.

---

Alternative solution.

Similarly to Solution 1 suppose that . The gcd of is coprime with the gcd of , thus . Now change another 1 into 2 and so on. After changes we get which gives us a contradiction.

---

Alternative solution.

We will prove a stronger version of this problem: For , let be positive integers with at least one . Then there are integers , each equal to or , such that .

Proof: Suppose otherwise. Then the integers with and or for are all pairwise coprime, since for any two of them, there is some with appearing in one and in the other. Since each of these integers divides , and each is with at most one equal to , it follows that so . The same is true for each , , a contradiction.

Techniques

Greatest common divisors (gcd)Pigeonhole principle