Difference between revisions of "Relatively prime"

(extra detail)
Line 12: Line 12:
 
* [[Greatest common divisor]]
 
* [[Greatest common divisor]]
 
* [[Euclidean algorithm]]
 
* [[Euclidean algorithm]]
 +
* [[Euler's Totient Function]]
  
 
{{wikify}}
 
{{wikify}}

Revision as of 08:19, 27 November 2007

Two positive integers ${m}$ and ${n}$ are said to be relatively prime or coprime if they share no common divisors greater than 1, so $\gcd(m,n)=1$. Equivalently, ${m}$ and ${n}$ must have no prime divisors in common. For example, 15 and 14 are relatively prime: the prime factorization of 15 is $3 \cdot 5$, the prime factorization of 14 is $2 \cdot 7$, and no prime factors are shared between the two.

Note that positive integers ${m}$ and ${n}$ are relatively prime if and only if $\frac{m}{n}$ is in lowest terms.

Relatively prime numbers show up frequently in number theory formulas and derivations. Euler's totient function, for example, determines the number of positive integers less than any given positive integer that are relatively prime to that number. The Chicken McNugget Theorem also involves relatively prime numbers.

It is also worth noting that by the Euclidean algorithm, consecutive positive integers are always relatively prime. This is related to the fact that two numbers ${a}$ and $b$ are relatively prime if and only if there exist some ${x},{y}\in \mathbb{Z}$ such that $ax+by=1$.

See also

Template:Wikify

This article is a stub. Help us out by expanding it.