Difference between revisions of "Relatively prime"

Line 1: Line 1:
 
(Also called ''coprime''.)
 
(Also called ''coprime''.)
  
Two '''relatively prime''' integers <math>{m}</math> and <math>{n}</math> share no common factors, so their <math>\gcd</math> is <math>1</math>. Alternatively, <math>{m}</math> and <math>{n}</math> must have no [[prime factor|prime factors]] in common. For example, 15 and 14 are relatively prime; as the [[prime factorization]] of 15 is <math>3 \cdot 5</math>, the prime factorization of 14 is <math>2 \cdot 7</math>, and no prime factors are shared between the two.
+
Two '''relatively prime''' integers <math>{m}</math> and <math>{n}</math> share no common factors, so <math>\displaystyle\gcd(m,n)=1</math>. Alternatively, <math>{m}</math> and <math>{n}</math> must have no [[prime factor|prime factors]] in common. For example, 15 and 14 are relatively prime; as the [[prime factorization]] of 15 is <math>3 \cdot 5</math>, the prime factorization of 14 is <math>2 \cdot 7</math>, and no prime factors are shared between the two.
  
 
Note that for relatively prime <math>{m}</math> and <math>{n}</math>, <math>\frac{m}{n}</math> will be in lowest terms.
 
Note that for relatively prime <math>{m}</math> and <math>{n}</math>, <math>\frac{m}{n}</math> will be 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.
+
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.
 +
 
 +
=== See also ===
 +
 
 +
* [[Number theory]]
 +
* [[Greatest common divisor]]
 +
* [[Euclidean algorithm]]

Revision as of 10:56, 20 June 2006

(Also called coprime.)

Two relatively prime integers ${m}$ and ${n}$ share no common factors, so $\displaystyle\gcd(m,n)=1$. Alternatively, ${m}$ and ${n}$ must have no prime factors in common. For example, 15 and 14 are relatively prime; as 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 for relatively prime ${m}$ and ${n}$, $\frac{m}{n}$ will be 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.

See also