Skip to main content
OlympiadHQ

Browse · MathNet

Print

51st Ukrainian National Mathematical Olympiad, 3rd Round

Ukraine number theory

Problem

Find all prime numbers , , , such that:
Solution
WLOG, , clearly . We can write: Since is prime, then either or is divisible by . If divides , then , which contradicts to (1).

Let suppose that is divisible by . If , then has to be even, which implies that is odd, hence is even, thus and .

If , let . Then and are odd and is odd, . Then and we get or which is equivalent to RHS is divisible by , thus LHS is divisible by the same number, since is odd, then is divisible by . Observe, that and are coprime, so is divisible by and since , then and .

We get and . Plugging in this into we get . But the last equality is impossible because , implies This completes the proof.
Final answer
p = 2, q = 2, r = 3

Techniques

Factorization techniquesTechniques: modulo, size analysis, order analysis, inequalities