Placement AptitudeVery hardCAT · TCS NQT Advanced

How many integers from 1 to 100 are divisible by exactly one of 2, 3 and 5?

  1. A. 103
  2. B. 74
  3. C. 55
  4. D. 48

Correct answer: D. 48

Let N1 = 50 + 33 + 20 = 103 (single conditions), N2 = 16 + 10 + 6 = 32 (pairs: 6, 10, 15), N3 = 3 (multiples of 30). Exactly one = N1 − 2N2 + 3N3 = 103 − 64 + 9 = 48. 74 = N1 − N2 + N3 counts 'at least one'.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic