The concept of a prime number is fundamental to number theory. For the next two sections we confine ourselves to the natural numbers .
Let . We say that is prime if the only natural numbers which divide are and itself; otherwise is composite.
Note that is neither prime nor composite. If is composite, then for some natural number satisfying we have ; so with .
It is easy to list the first few prime numbers: A
convenient way of obtaining a longer list is called the Sieve of
Eratosthenes: begin with a grid listing the first (say)
natural numbers.
Cross out , which is neither prime nor composite. Take the first remaining entry, circle it, and cross out all its successive multiples; then take the next remaining entry, circle it, and cross out all its successive multiples; and so on. At the end of the process the circled entries are the prime numbers.
The most important property of prime numbers is the following, which is a consequence of Euclid’s Lemma.
Let . If is prime and , then or .
We have and , so or . (Of course, we know that it is the latter statement which is true.)
Proof. Take with . If then we have the desired conclusion, so assume that ; then , so as we must have By Theorem 4.4.8 we therefore have as required.
Note that this property characterizes prime numbers; if is composite we may write for some , and then but and , so that fails to have the property. (Example: and , but and .)
We can easily extend Proposition 4.6.2 to cover products of more than two factors. Suppose that is prime and that for some ; regarding the product as , Proposition 4.6.2 shows that we must have or , and in the former case Proposition 4.6.2 again shows that or ; so all in all, divides one of the three factors. Likewise if with , we deduce that or , and in the former case we have just seen that divides , or ; so again divides one of the factors. Continuing in this way (or, strictly speaking, by induction), we see that whenever divides a product of any number of factors, it must divide one of them.
We now come to a most important result, the Fundamental Theorem of Arithmetic. By a product of primes we mean an expression of the form for some and prime numbers ; note that if we obtain as the ‘‘product’’ of a single prime number.
Every natural number greater than or equal to can be expressed as a product of primes; this product is unique up to the order of the factors.
The proof of this theorem relies on the Principle of Induction, which will be introduced in MATH101. We shall postpone it until the end of the module (see Appendix A).
We conclude this section with a couple of examples which highlight the difference between a proof and a counterexample.
For each , consider the statement
‘‘the natural number is prime’’.
It is tempting to believe that is true for all because
so that is true for . However, is not true in general, because
that is, is false.
Our second example is similar, but much harder to resolve; it goes back to Fermat and is known as Fermat’s Prime Conjecture.
For each , consider the statement
‘‘the natural number is prime’’.
Then is true for because , , and are prime numbers. Based on these observations, Fermat conjectured that is true for all . Euler, however, gave a counterexample to Fermat’s conjecture by showing that is false; indeed, we have