By Proposition 1.1.20, there exist primes such that
Suppose that
is another expression of as a product of primes. Since
Euclid's theorem implies that or . By induction, we see that for some .
Now cancel and , and repeat the above argument. Eventually, we find that, up to order, the two factorizations are the same.
William 2007-06-01