Skip to main content
OlympiadHQ

Browse · MathNet

Print

51st Ukrainian National Mathematical Olympiad, 3rd Round

Ukraine number theory

Problem

Numbers and are permutations of . Prove that among five numbers at least two have the same remainders modulo .
Solution
WLOG, . If , then there will be two numbers that are divisible by . Let and suppose that the statement of the problem is false. Then the numbers have remainders and modulo (in some order). Then from one hand the product has remainder .

From the other, since the numbers and are permutations of and , the product is has remainder modulo . This contradiction finishes the proof.

Techniques

Fermat / Euler / Wilson theorems