Proof.
We have
with each

prime.
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.