Skip to main content
OlympiadHQ

Browse · MathNet

Print

The South African Mathematical Olympiad Third Round

South Africa number theory

Problem

Let , , and be nonzero integers. Show that there exists an integer such that (Note: 'gcd' stands for 'greatest common divisor')
Solution
We may assume that , , are all positive, since if , , are all positive, and for some integer , then we immediately have . Moreover, if at least one of , and is equal to , then the result follows immediately: if or , choose ; otherwise, if , choose . In all these cases, .

Henceforth, assume that all of , and are greater than . This implies that there is a list of prime numbers and non-negative integers , , such that Let us first assume that . This implies that, for each , not all three of and are positive. We may also assume that, for each , not all three of and are (otherwise we could simply discard the primes for which this happens). We now call a prime a one-prime if exactly one of and is positive. Likewise, we call a prime a two-prime if exactly two of and are positive. Let be the complete list of one-primes among . If there are no one-primes in this list, put . Let We show that, for this , . Since is a divisor of , the only possible way that is that it is divisible by at least one of . We show that this is not the case.

Firstly, consider any (if ). For the triple there are three possibilities:

I. , with . Here, does not divide .

II. , with . Here, again, does not divide .

III. , with . Here, does not divide (where ).

So is not divisible by any of the one-primes.

Secondly, let denote any of the two-primes. For the triple there are three possibilities:

I'. , with . Here, does not divide .

II'. , with . Here, does not divide (recall that is not divisible by ).

III'. , with . Here, again, does not divide .

It follows that .

Finally, if , then , and from the above, there exists an integer such that . Multiplying both sides by gives , and we are done.

---

Alternative solution.

As in Solution 1, we may assume that . By Dirichlet's Theorem, the sequence , , contains infinitely many primes. Let , , be prime, with . Then, as and are relatively prime,

Techniques

Greatest common divisors (gcd)Prime numbersFactorization techniques