Let A denote the set of positive integers less than 100 divisible 2.
Let B denote the set of positive integers less than 100 divisible 3.
Let F denote the set of positive integers less than 100 divisible 5.
Then
N(A)=49,N(B)=33,N(C)=19,
N(A∩B)=16,N(A∩F)=9,N(B∩F)=6,
N(A∩B∩F)=3
N(A∪B∪F)=N(A)+N(B)+N(F)
−N(A∩B)−N(A∩F)−N(B∩F)
+N(A∩B∩F)
=49+33+19−16−9−6+3=73The number of positive integers less than 100, which are not divisible by 2, 3 or 5, is
99−73=26
Comments