Skip to main content
OlympiadHQ

Browse · MathNet

Print

Saudi Arabian IMO Booklet

Saudi Arabia number theory

Problem

Determine the smallest positive integer for which there exist a prime number and a positive integer such that
Solution
If , our equation becomes , whose smallest solution in is .

Now let . Since and are coprime and , either or must be a square, and it is obviously not the latter; hence is a square. Assume that . Then is a square, so either or is a square, but the former is (mod ), so the latter is the square: . Then , so both and are powers of and they must be and , but then , a contradiction. In conclusion, is the answer.
Final answer
9

Techniques

Greatest common divisors (gcd)Prime numbersTechniques: modulo, size analysis, order analysis, inequalities