All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Random Primes (Posted on 2003-07-10) Difficulty: 4 of 5
If you pick any two integers at random, what is that probability that they will be relatively prime? ("relatively prime" means that the two numbers share no divisors except 1)

Tell how you end up with the answer.

See The Solution Submitted by not_so_einstein    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 5 of 9 |
The greatest common divisor of two integers m and n can be interpreted as the number of lattice points in the plane which lie on the straight line connecting the vectors (0,0) and (m, n), excluding (m, n) itself.

Therefore, any lattice point (m, n) that is 'visible' from the origin, that is, no other lattice points lie on the line connecting the (0,0) vector and its own, means that the selected values of m and n have no greatest common factor; they are relatively prime.

Therefore, we need to find the fraction of all lattice points that are visible from the origin. This is found by using the Riemann zeta function, to represent which let's use Ç(z).

1/[Ç(2)] is the fraction of Cartesian coordinate pairs visible from the origin, and is thus the fraction we are looking for.This evaluates to 1/(π²/6), or 6/π².

6/π² is approximately 0.60788555894594382, which is about the same value Charlie found experimentally.

In general, the probability that n randomly selected integers lack a common divisor is [Ç(n)]^(-1).
The probability that n random integers lack a pth power common divisor is [Ç(np)]^(-1).

For more about the Riemann zeta function, look <a href=http://mathworld.wolfram.com/RiemannZetaFunction.html>here.
  Posted by DJ on 2003-07-13 20:54:54
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (7)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information