The Unique Factorization Theorem
Euclid's Lemma (EL)
Let
Using the elimination, we prove the impication:
Since
However,
We conclude from Coprimeness and Divisibility that
Let
I.e if
Unique Factorization Theorem (UFT)
Every natural number
This is an extension of Prime Factorization, with uniquness.
We can further extend this as: for every natural number
Where
For example, the prime divisors of 80 262 are 2, 3, 7, and 13, and we have
Even more generally, suppose
Where
Then we can write
We have already proven in Prime Factorization that
We prove this result by strong induction on
The natural number
Base Case: The statement
Inductive Step: Let
Assume the inductive hypothesis,
Now the integers
Case 1: If
Case 2: If
Now suppose that
Since
Now we have
Hence, by EL,
If necessary, reorder the
Since
Where
Since
Since
Thus, we have
But this means in (2), the two factorizations
Then, since
The result is true for
Finding a Prime Factor (FPF)
Similar to the Sieve of Eratosthenes
Every natural number
Suppose that
Then by UFT, we can write
Let
Hence we obtain
And therefore, taking positive square roots, we have
Determine whether
From FPF, either
Now
The only primes less than or equal to
Since none of these divide