Problem
Calculate:
Solution
Each number has a chance to be divisible by prime , so the probability that two numbers do not share prime factor is
Therefore, the probability two numbers are coprime is:
Since , we can express the above as:
We can choose any for for each prime , so by the Unique Factorization Theorem (any natural number can be prime factored one and only one way), we get: