Skip to main content
OlympiadHQ

Browse · MathNet

Print

59th Ukrainian National Mathematical Olympiad

Ukraine number theory

Problem

Find all positive integers , and prime numbers , which satisfy the equation
Solution
We rewrite the equation as follows. Clearly, , because, otherwise, the equation would hold, which is not possible for positive integers. Suppose there exists such , which is a factor of both and . But then . If, for example, , then from follows from being prime, it must be that , which leads to contradiction. If, on the other hand, , then each factor must be a cube of a positive integer. Suppose , , and . Then, Since , we obtain and , since . What is left is to search through the cases modulo 9. Cube of an integer modulo 9 can be equal to 0, \pm 1. Let us list all possible cases for remainders modulo 9 of primes so that condition is satisfied. All the cases were checked, which concludes the proof that such numbers do not exist.
Final answer
No solutions

Techniques

Techniques: modulo, size analysis, order analysis, inequalitiesGreatest common divisors (gcd)Factorization techniquesInverses mod nPolynomial operations