Index. Divisibility [002S]
Index. Divisibility [002S]
Definition 1. Divisor [001V]
Definition 1. Divisor [001V]
Let be an integer. A natural number is called a divisor of if there exists such that We write , say divides . We denote the set of all divisors by We write for the number of divisors of .
Definition 2. Prime Number [0034]
Definition 2. Prime Number [0034]
A natural number is called pime if it has exactly two divisors. Hence .
Theorem 4. Division with Remainder [004Y]
Theorem 4. Division with Remainder [004Y]
For every where there exists a unique pair of numbers and such that and .
Proof. The set is not empty, thus contains a minimal element . This gives us existence. Now to uniqueness: Let there be two pairs that fullfill our requirements. We now have . This gives us , but , which is only possible with . This forces as well.
Theorem 5. Euclidean Algorithm [000Y]
Theorem 5. Euclidean Algorithm [000Y]
The euclidean algorithm starts with two integers and and performs successive division with remainder until it is zero, like follows.
The algorithm computes the the greatest common divisor of and . For a proof see the Euclid's Theorem.
Definition 6. Coprime [001N]
Definition 6. Coprime [001N]
Two natural numbers are called coprime if their greatest common divisor is 1.
Lemma 8. Bezout [0038]
Lemma 8. Bezout [0038]
For any natural numbers . There exist integers such that the gcd of can we written as .
Proof. Do the Euclidean Algorithm in reverse.
Corollary 9. [0039]
Corollary 9. [0039]
Let with the gcd of and equal to 1, and . Then .
Proof. From Bezout's Lemma there exists integers with . Multiply by to get . Since and by hypothesis, it follows that .