if A={1,2,...,600} includes all natural numbers between 1 to 600. I want to find number of elements of A that not divisible by 3 or 5 or 7?
any hint or idea?
if A={1,2,...,600} includes all natural numbers between 1 to 600. I want to find number of elements of A that not divisible by 3 or 5 or 7?
any hint or idea?
Let $A$ be the set of integers in $I=[1,600]$ that are divisible by three, $B$ the set of integers in $I$ that are divisible by five and $C$ the set of integers that are divisible by seven. The inclusion-exclusion principle gives that the answer is: $$600-|A|-|B|-|C|+|A\cap B|+|A\cap C|+|B\cap C|-|A\cap B\cap C|$$ or: $$ 600-200-120-85+40+28+17-5 = \color{red}{275.}$$