MixedHardQuestion 290016
Question
The number of integers between 1 and 1000 that are divisible by neither 3 nor 5 is:
- A533Correct
- B466
- C400
- D600
Correct answer
533
Explanation
By inclusion-exclusion: divisible by 3 = 333, by 5 = 200, by 15 = 66. Divisible by 3 or 5 = 333+200−66 = 467. Neither = 1000−467 = 533.