Mathematics (JEE)HardCAT · MBA placement

A number is chosen uniformly at random from {1, 2, ..., 12}. What is the probability that it is divisible by 2, or by 3, or by 4?

  1. A. 2/3
  2. B. 3/4
  3. C. 7/12
  4. D. 1/2

Correct answer: A. 2/3

Inclusion-exclusion: |A| + |B| + |C| = 6 + 4 + 3 = 13; subtract |A and B| = 2 (6, 12), |A and C| = 3 (4, 8, 12) and |B and C| = 1 (12); add back |A, B and C| = 1 (12). The union has 13 - 6 + 1 = 8 elements, so the probability is 8/12 = 2/3.

More Permutations, Combinations and Probability questions

Exams that ask this topic