GATE Computer ScienceHardGATE CSE · NIELIT

How many integers from 1 to 2000 inclusive are divisible by none of 3, 5, 7 and 11?

  1. A. 819
  2. B. 831
  3. C. 852
  4. D. 891

Correct answer: B. 831

Inclusion–exclusion over 3, 5, 7, 11 on 1..2000 (period 1155, φ-density (2/3)(4/5)(6/7)(10/11) ≈ 0.4156) gives 831.

More Discrete Mathematics questions

Exams that ask this topic