Skip to main content
OlympiadHQ

Browse · MathNet

Print

66th Belarusian Mathematical Olympiad

Belarus number theory

Problem

Solve the equation in primes .
Solution
Answer: , .

Note that , otherwise LHS , RHS . We have Since , we have . But since , so , i.e., , . Therefore Then If we have Hence, If from (1) we have . Hence , which is impossible.

If we have , which gives . It is easy to see that this equation has no real solution.

If from (1) we have It is easy to see that either or . But 1 is not prime, so , then .
Final answer
p = 19, q = 7

Techniques

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