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

Coprime to $100$

#IE#coprime#totient

Statement

How many integers from 11 to 100100 are coprime to 100100?

Hint

100=22⋅52100=2^2\cdot5^2, so coprime means not divisible by 22 or 55.

Show solutionHide solution

Solution

Sets. A2A_2 (multiples of 22): 5050; A5A_5 (multiples of 55): 2020; A2∩A5A_2\cap A_5 (multiples of 1010): 1010.

Union. 50+20−10=6050+20-10=60.

Complement. 100−60=40100-60=40.

Conclusion. 4040 coprime to 100100 (matching φ(100)=40\varphi(100)=40).