Mathematics (JEE)Hard

How many integers from 1 to 999 are divisible by 3 or by 7?

  1. A. 475
  2. B. 429
  3. C. 428
  4. D. 427

Correct answer: C. 428

Inclusion–exclusion: ⌊999/3⌋ + ⌊999/7⌋ − ⌊999/21⌋ = 333 + 142 − 47 = 428. The enumerated value 428 is the answer, and adding the two counts without subtracting the overlap gives 475.

More Permutations, Combinations and Probability questions

Exams that ask this topic