Difference between revisions of "Relatively prime"
(tag) |
(extra detail) |
||
Line 5: | Line 5: | ||
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. | + | 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 <math>{a}</math> and <math>b</math> are relatively prime if and only if there exist some <math>{x},{y}\in \mathbb{Z}</math> such that <math>ax+by=1</math>. |
== See also == | == See also == |
Revision as of 23:45, 26 November 2007
Two positive integers and are said to be relatively prime or coprime if they share no common divisors greater than 1, so . Equivalently, and must have no prime divisors in common. For example, 15 and 14 are relatively prime: the prime factorization of 15 is , the prime factorization of 14 is , and no prime factors are shared between the two.
Note that positive integers and are relatively prime if and only if 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 and are relatively prime if and only if there exist some such that .
See also
This article is a stub. Help us out by expanding it.