Positive integers , , and are randomly and independently selected with replacement from the set . What is the probability that is divisible by ?
- A)
- B)
- C)
- D)
- E)
Answer
E
Key insight
Factor as a(b(c+1)+1): divisible by 3 when a is, or else when b(c+1) is 2 mod 3; residues are uniform since 3 divides 2010.
Solution
Factor: .
Because , each of is equally likely to be , or , independently.
The product is divisible by if , which has probability .
Otherwise (probability ) we need , i.e. . The residue pairs with product are and ; each pair occurs with probability , so this has probability .
Total:
The answer is .
Why this works
Divisibility of an expression depends only on residues, and factoring exposes the structure: a product is when some factor is. The size matters only through being a multiple of , which makes the three residues uniform; then the problem is a small tree of cases on residues.
Alternative approach
Complement: the expression is not divisible by when (probability ) and (probability ), giving of failure and of success.
The trap
Forgetting the residues are uniform only because 2010 is a multiple of 3, or double counting the cases where a is divisible by 3.
Common mistakes
- Forgetting the residues are uniform only because 2010 is a multiple of 3, or double counting the cases where a is divisible by 3.
- Treating as requiring or , which is backwards: if the bracket is .
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta · Split into exhaustive cases and handle each