Skip to main content
OlympiadHQ

Browse · MathNet

Print

74th Romanian Mathematical Olympiad

Romania number theory

Problem

We will say that the positive integers and have property if for every divisor of and every divisor of , the number is a prime.

a) Prove that if and have property and are different, then is odd.

b) Find all the pairs of positive integers , having property .
Solution
a) Without loss of generality, we may suppose . If and are odd, then and . Taking and yields , which is an even number at least , so it is composite, contradiction. If and are even, taking and yields , contradiction. In conclusion and have different parities, so is odd.

b) If , then and leads to , which must be a prime, hence . If , then and, from a), and have different parities.

If is even and is odd, then and . Then and yields , contradiction. If is odd and is even, then and . Take and odd such that .

I. If , then divides and, taking and yields , contradiction.

II. If , then , with odd .

i) If , then take and to get , contradiction.

ii) If , then and, since and is odd, . It is easy to check that the pair is a solution.

III. If , then , with odd .

i) If , then and yields , contradiction.

ii) If , then and, since and is odd, . It is easy to check that only satisfies the statement.

Finally, the solutions are , , .
Final answer
If the two numbers are distinct, their sum is odd. The pairs with the property are (1,1), (1,2), and (1,4).

Techniques

Prime numbersFactorization techniques