Browse · MathNet
PrintBelarusian Mathematical Olympiad
Belarus number theory
Problem
Solve the equation in prime numbers and : .
Solution
Answer: , .
We have If , then , so . Hence, , i.e. for some . It follows that , or . Substituting this expression in (2) we obtain . The discriminant of this quadratic on equation must be a perfect square. But it is easy to check that Moreover, the equation has no solutions. Hence, . For we have , and for we have , which is impossible. For we obtain , so . Thus and . It remains to note the primes , do satisfy the equation.
We have If , then , so . Hence, , i.e. for some . It follows that , or . Substituting this expression in (2) we obtain . The discriminant of this quadratic on equation must be a perfect square. But it is easy to check that Moreover, the equation has no solutions. Hence, . For we have , and for we have , which is impossible. For we obtain , so . Thus and . It remains to note the primes , do satisfy the equation.
Final answer
p = 19, q = 7
Techniques
Techniques: modulo, size analysis, order analysis, inequalitiesFactorization techniquesQuadratic functions