Fundamental Theorem of Arithmetic
The Fundamental Theorem of Arithmetic: every integer greater than 1 is either a prime or a product of a finite number of primes and this factorization is unique except for the rearrangement of the factors. In this topic we start out with Euclid’s Lemma which states that if a prime divides a product then it must divide one of the factors. This lemma is very useful and will be used to show there are infinitely many primes and that every integer greater than 1 is a product of primes. Then we define the Euler totient function and by using the prime factorization of an integer we give a formula to compute functional values. Finally, in this topic we take a special interest in a collection of multiplicative Abelian groups which consist of invertible elements constructed from the integers modulo n.
Definition (Prime) An integer
is said to be a prime number if
and the only divisors of
are
and
Proposition (Euclid's Lemma)
(i) An integer
is a prime number if and only if
for any integers
and
![]()
(ii) If
is a prime number,
are integers, and
then
for some
![]()
(iii) Every integer (except
) is a product of primes.
(iv) There are infinitely many prime numbers.
Proof. (i) If
is prime and
then
or
If
then
or if
then
In either case,
or
Similarily, when
Conversely, suppose
for any integers
and
To show that
is prime let
be a divisor of
Then
for some
and so
or
Thus, if
for some
then
and so
If
for some
then
and so
as desired.
![]()
(ii)
The statement is clearly true when
and
is (i). Assume the statement is true for
and suppose
Then by (i),
or
So by the induction hypothesis there is some
such that
or it may be the case that
Therefore, there is some
such that
as desired.
(iii) Consider the set
consisting of all integers greater than 1 that are not a product of primes. Assume for a contradiction that
is not empty, then by the Well-Ordering Axiom there is a least element say
Then
is itself not a prime number and so,
where
and
Since
is the least element in
and
are products of primes; and thus so is
This contradiction shows that
is empty and so every integer greater than
is a product of primes. Therefore, every integer (except
) is a product of primes because if
and
then
is a product of primes as desired.
(iv) Assume, as Euclid did, that there are only finitely many prime numbers say,
Consider
which by (iii) must be a product of primes. Let's say
and since
we have
Therefore,
which can not be true. Therefore, there can not be a finite number of prime numbers, as desired.
Proposition (Fundamental Theorem of Arithmetic) Every integer
can be written uniquely in the form
where
are prime numbers and
are positive integers.
Proof. Every integer has a prime factorization by Euclid's Lemma. If there is an integer greater than 1 for which the factorization is not unique, then by the Well-Ordering Axiom there exists a smallest such integer, say
Assume that
has two factorizations say
and
where
and
and the
and
are all positive for
and
By Euclid's Lemma,
for some
and
for some
Since all the numbers
and
are prime, we must have
and
Then
since
Let
be the integer defined as
![]()
If
then
has a unique factorization. If
then
and
has two factorizations. Both cases reveal that
can not exist as desired.
Definition (Euler's φ-Function) For each integer
let
denote the number of positive integers less than
and relatively prime to
and let
The function of
is called the Euler's
-function, or sometimes the totient function.
Proposition (Euler's φ-Function)
(i) If
is a prime number and
is positive, then
![]()
(ii) If
and
are different prime numbers, then
![]()
(iii) If
then
(iv) If
then
![]()
(v) If
is prime, then
![]()
(vi) If
is the unique prime factorization of
then
Proof. (i) By Euclid's Lemma, the integers
such that
and
is divisible by
are
Thus the number of positive integers less than
and relatively prime to
is
![]()
(ii) By Euclid's Lemma, an integer
will satisfy
if and only if
or
and the number of such
is
Thus the number of
such that
and
is
![]()
(iv) There are
congruence classes which are represented by an integer relatively prime to
in
Let these representatives be
The products
are all distinct because
and since each product is still relatively prime to
there is a representative from each of the
congruence classes
Therefore,
Since
as desired.
(v) If
then
otherwise
and so
since
Therefore,
as desired.
Proposition (Group of Invertibles) Define the set
and define the operation
on
by
then
is an Abelian group of order
Proof. The operation
is a well-defined binary operation on
; meaning, if
and
in
then
which follows from
and
and since if
and
then there exists integers
and
such that
and
and so
which means
Thus
By the definition of
and the use of associavity in the integers, it follows that
for any
and
The element
is the identity because
for any
For every element
of
there is an inverse because
yields integers
and
such that
Then
and
Commutativity follows since
for
Example (Group of Invertibles) Construct the Cayley tables for
and
![]()
Fundamental Theorem Of Arithmetic In The Integers
Published by Library of Math -- Online math organized by subject into topics.
Written by Smith, David A.
http://www.libraryofmath.com/fundamental-theorem-of-arithmetic-in-the-integers.html


