Una rolls standard -sided dice simultaneously and calculates the product of the numbers obtained. What is the probability that the product is divisible by
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Count failures: the product lacks a factor of 4 only if all dice are odd, or one die shows 2 or 6 and the rest are odd.
Solution
"Divisible by " happens in many ways, but failing happens in only a few, so count the failures and subtract.
1. Sort each die by how many 2s it gives. A product is divisible by when it has at least two factors of .
- : no factor of . Chance .
- : exactly one factor of . Chance .
- : two factors of . Chance .
2. When does the product fail? When the six dice together give zero or one factor of .
3. Zero factors of 2. All six dice are odd:
4. Exactly one factor of 2. One die shows or , and the other five are odd. The special die can be any of the dice:
5. Chance of failing: .
6. Chance of success:
The answer is .
Why this works
Whether a product is divisible by depends only on how many factors of it has in total, so each die only needs to be sorted into "zero, one, or two 2s." When the event you want is big and messy, the opposite event is often small and easy to count. Count it and subtract from .
The trap
Treating a roll of 4 like a 2 or 6 (a 4 alone already makes the product divisible by 4), or forgetting that any of the 6 dice can be the lone even one.
Concise solution
Track only factors of . Each die contributes factors of (a roll of ; probability ), exactly factor (a roll of or ; probability ), or factors (a roll of ; probability ).
The product fails to be divisible by when the total number of factors of is or .
- Zero factors: all six dice odd, probability .
- Exactly one factor: one die shows or and the other five are odd. Choose which die ( ways): .
The failing probability is , so the product is divisible by with probability
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 7: Introduction to Probability
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.3)
- Introduction to Counting & Probability, Chapter 8: Basic Probability Techniques
Techniques
Split into exhaustive cases and handle each · Count the complement and subtract from the total