How much do you REALLY need to simplify?

Given two random integers a and b, what is the percent chance that they are co-prime, rounded to the nearest whole number?

(If the chance was .512, type 51)


The answer is 61.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

The probability that two random integers are coprime is 6 π 2 0.608 = 61 % \dfrac{6}{\pi^2} \approx 0.608=61 \% to two decimal places.

Good reproduction of https://de.wikipedia.org/wiki/Teilerfremdheit!

Andreas Wendler - 5 years, 2 months ago
Alex Li
Mar 23, 2016

If a 2 numbers is co-prime, they are not both divisible by any primes. We can approximate this answer by finding the chance that they are not both divisible by the first couple of primes.

Chance that 2 numbers are both divisible by prime p: (1/p)^2

Chance that 2 numbers are NOT both divisible by prime p: (1 - (1/p)^2)

P(a and b) = a*b

Chance that 2 numbers are NOT both divisible by any prime:

(1 - (1/2)^2) * (1 - (1/3)^2) * (1 - (1/5)^2) * (1 - (1/7)^2) * (1 - (1/11)^2)... = ~.39

1-.39 = ~.61 = 61%

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...