Revision as of 21:17, 29 April 2007 by imported>Greg Martin
Every integer
can be written in a unique way as a product of prime factors, up to reordering. To see why this is true, assume that
can be written as a product of prime factors in two ways

We may now use a technique known as mathematical induction to show that the two prime decompositions are really the same.
Consider the prime factor
. We know that

Using the second definition of prime numbers, it follows that
divides one of the q-factors, say
. Using the first definition,
is in fact equal to
Now, if we set
, we may write

and

In other words,
is the product of all the
's except
.
Continuing this way, we obtain a sequence of numbers
where each
is obtained by dividing
by a prime factor. In particular, we see that
and that there is some permutation ("rearrangement") σ of the indices
such that
. Said differently, the two factorizations of N must be the same up to a possible rearrangement of terms.