Editorial
Need a hint? Checkout the editorial.
View Editorial
Editorial
Firstly, we have to find out the sum of the numbers that divides at least 2 or 3 or 5. Then we have to subtract the common numbers.
How many positive integers not exceeding $1000 $ are divisible by $2$,or $3$,or $5$?
Firstly, we have to find out the sum of the numbers that divides at least 2 or 3 or 5. Then we have to subtract the common numbers.