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

One Response to “Probability of Two Integers Being Coprime”

  1. 1
    Probability Problems « Green Planetary Says:

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

Leave a Reply

Time limit is exhausted. Please reload the CAPTCHA.

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

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