Number Theory/Elementary Divisibility
From Wikibooks, the open-content textbooks collection
Contents |
[edit] Elementary Properties of Divisibility
Divisibility is a key concept in number theory. We say that an integer a is divisible by an integer b if there exists an integer c such that a=bc.
For example, the integer 123456 is divisible by 643 since there exists an integer, namely 192, such that
.
We denote divisibility using a vertical bar: a | b means "a divides b". For example, we can write
.
The following theorems illustrate a number of important properties of divisibility.
[edit] Prime numbers
A natural number p is called a prime number if it has exactly two distinct natural number divisors, itself and 1. The first eleven such numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and 31. There are an infinite number of primes, however, as will be proven below. Note that the number 1 is generally not considered a prime number even though it has no divisors other than itself. The reason for this will be discussed later.
[edit] Theorem 1
Suppose
and
are integers and
. Then
.
Proof:
There exists
and
such that
and
. Thus

We know that
is also an integer, hence
.
[edit] Corollary
Suppose
and
are integers and
. Then
and
.
Proof: Letting r = 1 and s = 1 in Theorem 1 yields
. Similarly, letting r = 1 and s = − 1 yields
. Finally, setting s=0, yields
.
[edit] Theorem 2
If
are integers and
then
.
Proof:
Let us write b as
and c as
for some integers
and
.
It follows that
, and hence
.
[edit] Theorem 3
If
are integers and
, then
if and only if 
Proof:
implies that there exists an integer d such that

So it follows that
and hence
.
For the revese direction, we note that
implies there exists an integer
such that
.
We know that c is non-zero, hence
.
This proves the theorem.
[edit] Theorem 4
Fundamental Theorem of Arithmetic(FTA)
Every positive integer n is a product of prime numbers.
Proof:
We prove this theorem by contradiction.
Let N be the smallest positive integer that is not a product of prime numbers. Since N has to be composite, it can be written as N = a b with a, b > 1. It is
1 < a,b < N.
We conclude that the theorem is true for a and b because N was the smallest counterexample. Hence there are primes
such that

and primes
such that
.
Hence
,
which is a contradiction.
Alternative Proof:
This is an inductive proof.
The statement is true for N = 2
Suppose the statement is true for all 
N + 1 is either composite or prime. If N + 1 is prime, then the statement is true for k = N + 1
If N + 1 is composite, then N + 1 is divisible by some prime, p < N + 1, so k = N + 1 can be written as a product of p and some number < N + 1.
Hence N + 1 can be written as a product of primes.
It follows that the statement is true for all
and hence by induction for all
.
[edit] Theorem 5
There are infinitely many primes.
Proof:
Suppose that there are only
primes.
Let these primes be:
.
Let
Then either n is prime, or it is a product of primes. If is is a product of primes, it must be divisible by a prime pi for some i. However,
which is clearly not an integer: n is not divisible by pi. Hence,
is not a product of primes.
This is a contradiction, as by Theorem 4, all numbers can be expressed as a product of primes.
Therefore, either
is prime or it is divisible by some prime greater than
.
We conclude that the assumption that there are only
primes is false.
Thus there are not a finite number of primes, i.e., there are infinitely many primes.
[edit] Theorem 6
Division with smallest nonnegative remainder
Let a and b be integers where b > 0. Then there exist uniquely determined integers q and r such that
a = bq + r
and
.
Proof:
We define the set

which is nonempty and bounded from above. Hence it has a maximal element which we denote by q.
We set r = a − bq. It is
and r < b, because otherwise
.
This implies

which contradicts to the maximality of q in M.
We now prove the uniqueness of q and r:
Let q' and r' be two integers which satisfy a = bq' + r' and
. It is
| b(q − q') | = | r' − r | < b
and thus | q − q' | < 1 which implies q = q'. This also shows r = r' and we are done.

