How many integers from 1 to 1000 are divisible by none of 2, 3 and 5?
Type in the answer (TITA): no options.
Show answer & solution
Correct answer: 266
Solution: Inclusion–exclusion. Divisible by 2, 3, 5: 500, 333, 200. By 6, 10, 15: 166, 100, 66. By 30: 33. Divisible by at least one = 1033 − 332 + 33 = 734. None = 1000 − 734 = 266.