Baltic Way 1991 · Problem 1
Number Theory
Find the smallest positive integer having the property: for any set of distinct integers the product of all differences is divisible by 1991 .
When you’re ready
Review material becomes available with the next Daily.
Review
Topics
Primes · Divisibility and factorization
Solutions
Solution
Solution:
Let . Note that . Therefore is divisible by if and only if it is divisible by both and .
If then we can take the numbers from distinct congruence classes modulo so that will not be divisible by .
On the other hand, if then according to the pigeonhole principle there always exist and such that is divisible by (and of course there exist and such that is divisible by ).