Six distinct positive integers are randomly chosen between and , inclusive. What is the probability that some pair of these integers has a difference that is a multiple of ?
- A)
- B)
- C)
- D)
- E)
Answer
E
Key insight
Two numbers differ by a multiple of 5 exactly when they leave the same remainder when divided by 5. Six numbers but only five remainders, so it always happens.
Solution
- Rewrite the condition. Two numbers differ by a multiple of exactly when they leave the same remainder when divided by . For example, and both leave remainder , and .
- Count the remainders. Dividing by can leave only or : five possible remainders.
- Six numbers. Think of the five remainders as five boxes, and put each chosen number into the box of its remainder. Six numbers in five boxes means some box gets at least two numbers.
- Conclusion. Those two numbers have the same remainder, so their difference is a multiple of . This happens for every possible choice of six numbers, so the probability is .
The answer is .
Why this works
This is the pigeonhole principle: put more objects than boxes, and some box must hold two. When a probability question has one more object than there are types, suspect that the event is certain. The range to does not matter at all; it is there to distract.
The trap
Starting a long probability calculation, or guessing a value like 4/5, instead of noticing that six numbers can never all have different remainders.
Concise solution
Two integers differ by a multiple of exactly when they leave the same remainder upon division by .
There are only five possible remainders: . We are choosing six integers, so by the pigeonhole principle at least two of them land in the same remainder class. Those two have a difference divisible by .
This happens for every possible selection, regardless of the range to , so the probability is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic
- Introduction to Counting & Probability, Chapter 7: Introduction to Probability
- Intermediate Counting & Probability, Chapter 5: The Pigeonhole Principle
- Introduction to Number Theory, Chapter 10: Units Digits
Techniques
Pigeonhole principle