Quantitative AptitudeHardTCS NQT · CAT

How many integers from 1 to 1500 are divisible by none of 2, 3, 5 and 7?

  1. A. 344
  2. B. 343
  3. C. 342
  4. D. 240

Correct answer: B. 343

Count via inclusion-exclusion with floors, or note that the pattern repeats every 210 numbers with φ(210) = 48 survivors: 7 × 48 = 336 up to 1470, plus the survivors among 1471..1500, giving 343. A product-of-fractions estimate (≈ 342.9) is not exact.

More Number System, LCM and HCF questions

Exams that ask this topic