You randomly pick a number from {1,2,…,100}. What is the probability that it is relatively prime to 100?
Express as a fraction
Show solution
We need ϕ(100)/100 where ϕ is Euler's totient function. Since 100=22⋅52, we have ϕ(100)=100⋅(1−1/2)(1−1/5)=100⋅21⋅54=40. The probability is 10040=52.