Here we review some basic number theoretic definitions and results. For the most part, we will just state the results. For a more detailed treatment, the student is referred references ,, or given in the bibliography. Unless otherwise stated in this appendix, all lower case letters, , , , etc. will be integers. Recall that we use to denote the set of natural numbers (also known as the positive integers) and we use to denote the set of all integers, i.e., and
Definition C.1:
Let . We say divides and we write if there is an element such that . We write if does not divide .
If we also sometimes say that is a factor of or that is a multiple of . To tell if divides where , we simply divide by and see if the remainder is 0 or not. More generally, we have the following fundamental result.
Lemma (The Division Algorithm)
For any integers and with there exists unique integers and such that
Definition C.2:
The number in the above Lemma is denoted by .
For example we have
and
Definition C.3:
An integer is said to be prime if and the only positive factors of are and 1.
Definition C.4:
Let and be integers, at least one of which is non-zero. The greatest common divisor of and is the greatest positive integer, , that divides both and . We define .
Definition C.5:
If and are non-zero integers, the least common multiple of and is the smallest positive integer, , that is a multiple of both and . If or , we define .
An important property of primes is given by the following lemma.
Lemma
If is prime and then or .
Perhaps the most fundamental result concerning integers is the following theorem, which is sometimes called The Fundamental Theorem of Arithmetic.
Theorem
If is an integer, then there exists a unique list of primes such that the following two conditions hold:
- ,
-
For example, if the unique list of primes is 2, 2, 2, 3, 3.
Now fix a positive integer . Recall that and that multiplication and addition in are defined by
remainder when the ordinary sum of and is divided by , and
remainder when the ordinary product of and is divided by .
To facilitate the proof that these two binary operations are associative, we temporarily denote addition in by and multiplication in by . This way we can use and for ordinary addition and multiplication in . Thus we have
Theorem
Let be a positive integer. Define by the rule . Then
and
Proof Let and . This implies that and Hence Now where Hence and it follows that and we conclude that This proves (C.1). The proof of (C.2) is similar and left to the interested reader.
Corollary
The binary operations and on are associative.
Proof Using the notation in the theorem, we have for : , and . Hence This proves that is associative on . The proof for is similar and left to the interested reader.