What is the probability that an integer in the set is divisible by and not divisible by ?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Count the 50 even numbers, then remove the 16 multiples of 6; 34 of 100 remain.
Solution
Multiples of up to : .
Among these, the ones also divisible by are the multiples of : (namely ).
Even numbers that are not multiples of : . The probability is .
The answer is .
Why this works
"Divisible by but not " is a set difference: (multiples of ) minus (multiples of ). Counting multiples uses floor division, and the floor matters: is not a multiple of , so the count is , not , which is why the answer is not the "expected" .
The trap
Assuming exactly one third of the evens are multiples of 3 and answering 1/3, when floor(100/6) = 16 is not 50/3.
Common mistakes
- Assuming exactly one third of the evens are multiples of 3 and answering 1/3, when floor(100/6) = 16 is not 50/3.
- Subtracting all multiples of from instead of only the even ones.
Techniques
Count the complement and subtract from the total