CTK Insights

20 Feb

Probability of Two Integers Being Coprime

For a prime p, two integers are both divisible by p with the probability p^{-2}, because this only happens when the two integers have the residue 0 (one out of p available residues) modulo p.

Two integers are mutually prime if they have no common nontrivial factors, prime facors in particular. Assuming divisibility by one prime is independent of divisibility by another, two integers are mutually prime with the probability


where the product is over all prime p.

(There is an extended version of this argument - in Spanish and in English.)


  1. TOM M. APOSTOL, What Is the Most Surprising Result in Mathematics? Part II, Math Horizons, Vol. 4, No. 3 (February 1997), pp. 26-31

2 Responses to “Probability of Two Integers Being Coprime”

  1. 1
    Probability Problems « Green Planetary Says:

    [...] Probability of Two Integers Being Coprime [...]

  2. 2
    reseller hosting south africa Says:

    Hi there! This post couldn't be written much better!
    Looking through this article reminds me of my
    previous roommate! He constantly kept talking about
    this. I'll send this article to him. Pretty sure he's going to
    have a great read. Thank you for sharing!

    Here is my webpage: reseller hosting south africa

Leave a Reply

3 × = fifteen

© 2014 CTK Insights | Entries (RSS) and Comments (RSS)

Powered by Wordpress, design by Web4 Sudoku, based on Pinkline by GPS Gazette