Question
Question: Find the number of positive integers from 1 to 1000 which are divisible by at least 2, 3 or 5....
Find the number of positive integers from 1 to 1000 which are divisible by at least 2, 3 or 5.
Solution
In this problem, we have to find the number of positive integers from 1 to 1000 which are divisible by at least 2, 3 or 5. We can first assume the numbers divisible by 2 as A, the number divisible by 3 as B and the number divisible by 5 as C. We can then find their unions and intersections. We can then use the formula,n(A∪B∪C)=n(A)+n(B)+n(c)−n(A∩B)−n(B∩C)−n(C∩A)+n(A∩B∩C) to find the number of integers divisible by 2, 3 or 5.
Complete step by step solution:
Here we have to find the number of positive integers from 1 to 1000 which are divisible by at least 2, 3 or 5.
We can now assume,
n(A) as the number divisible by 2
n(B) as the number divisible by 3
n(C) as the number divisible by 5.
We have to find the numbers between 1 to 1000, so we can write each of the divisible numbers as