Skip to main content
OlympiadHQ

Browse · MathNet

Print

59th Ukrainian National Mathematical Olympiad

Ukraine number theory

Problem

Let , , be natural numbers. Prove that there exists an integer nonnegative number , such that .
Solution
Let be some prime divisor of the number . Let's prove that satisfies the statement of the problem. Since doesn't divide any of the numbers , , , by Fermat's little theorem: . Hence divides each number , and . Since doesn't divide any of the numbers , , and is prime, then prime number divides each number , and . The latter is the consequence of the following equality: . The statement is proved.

Techniques

Greatest common divisors (gcd)Prime numbersFermat / Euler / Wilson theorems