Maths WorkshopMaths problems with full solutions
Exercise 1726Combinatorics › Inclusion-exclusionL1Added 3 Nov 2026

Sieve formula

#IE#sieve#formula

Statement

State and apply the sieve formula to count numbers up to 100100 coprime to 3030.

Hint

Count numbers not divisible by 22, 33, 55.

Show solutionHide solution

Solution

From earlier. Numbers divisible by 22, 33, or 55: 7474.

Complement. 100−74=26100-74=26.

Conclusion. 2626 coprime to 3030.