The greatest common divisor of positive integers is the largest positive integer dividing both, denoted . The set of positive common divisors contains and is finite, so this definition supplies a value.
The Euclidean algorithm repeatedly replaces by , where the new remainder lies between and . Common divisors are unchanged by this subtraction, and decreasing positive remainders ensure termination. The last nonzero remainder is the greatest common divisor.
The extended Euclidean algorithm also tracks coefficients , beginning with coefficient pairs and and applying the same subtraction to the pairs. This invariant produces Bézout coefficients for the last nonzero remainder. Here the divisions are
Back substitution gives
Thus , with and in Bézout's identity.
Use strong induction on the positive integer . The case is represented by the empty product. For , if is prime it is already a product of one prime. Otherwise with ; the induction hypothesis gives prime factorizations for both and , and concatenating them gives one for . This proves existence in the fundamental theorem of arithmetic without presupposing uniqueness.
If , there is nothing to prove. Otherwise the only possible positive common divisors of the prime and show that . By Bézout's identity, for some integers . Multiplying by gives . Both terms on the right are divisible by , the second because . Hence . This proves Euclid's lemma, including when either factor is zero or negative.
Suppose are two products of positive primes. If , then , and necessarily , since any nonempty product of positive primes is at least . Otherwise Euclid's lemma, applied repeatedly to the right-hand product, says divides one . Since is prime, . Reorder the right-hand factors and cancel this common nonzero factor. Repeating, or using induction on the number of factors, matches every factor. Neither side can have factors left over, because their product would then equal . Thus the prime factorization is unique up to rearrangement.
The allowed primes are exactly . Define
The fundamental theorem of arithmetic makes this definition unambiguous and proves injectivity. For every , the positive integer belongs to and maps to that tuple, proving surjectivity. The inverse function is explicitly . In particular, maps to . This is the prime-exponent parametrization of smooth numbers.

Articles by others on the same topic (0)

There are currently no matching articles.