Skip to main content
OlympiadHQ

Browse · MathNet

Print

Croatian Mathematical Society Competitions

Croatia counting and probability

Problem

Let be a positive integer. distinct positive integers are given, all less than . Prove that we can find two numbers among them whose difference is greater than and less than . (Mathematical Excalibur 2015)
Solution
Denote by the set of given numbers. Without loss of generality, we can assume that contains . Indeed, if is not in , we can subtract the smallest element of from all elements of and add to all of them, which preserves the differences between all elements of .

If at least one number from is contained in , then and that number satisfy the claim.

Now assume that none of the numbers are in . All remaining numbers from to can be divided into pairs . Other than , the set contains other numbers, so by the Dirichlet principle at least one pair consists of numbers that are both in . Those two numbers satisfy the claim.

Techniques

Pigeonhole principle