09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

106 NUMBER THEORY<br />

product of primes,<br />

n = p,...pm = fiPk, Pl 6 .‘. 6 Pm. (4.10)<br />

k=l<br />

For example, 12=2.2.3; 11011 =7.11.11.13; 11111 =41.271. (Products<br />

denoted by n are analogous to sums denoted by t, as explained in exercise<br />

2.25. If m = 0, we consider this to be an empty product, whose value<br />

is 1 by definition; that’s the way n = 1 gets represented by (4.10).) Such a<br />

factorization is always possible because if n > 1 is not prime it has a divisor<br />

nl such that 1 < nl < n; thus we can write n = nl .nz, and (by induction)<br />

we know that nl and n2 can be written as products of primes.<br />

Moreover, the expansion in (4.10) is unique: There’s only one way to<br />

write n as a product of primes in nondecreasing order. This statement is<br />

called the Fundamental Theorem of Arithmetic, and it seems so obvious that<br />

we might wonder why it needs to be proved. How could there be two different<br />

sets of primes with the same product? Well, there can’t, but the reason isn’t<br />

simply “by definition of prime numbers!’ For example, if we consider the set<br />

of all real numbers of the <strong>for</strong>m m + nm when m and n are integers, the<br />

product of any two such numbers is again of the same <strong>for</strong>m, and we can call<br />

such a number “prime” if it can’t be factored in a nontrivial way. The number<br />

6 has two representations, 2.3 = (4 + &8 j(4 - fi 1; yet exercise 36 shows<br />

that 2, 3, 4 + m, and 4 - m are all “prime” in this system.<br />

There<strong>for</strong>e we should prove rigorously that (4.10) is unique. There is<br />

certainly only one possibility when n = 1, since the product must be empty<br />

in that case; so let’s suppose that n > 1 and that all smaller numbers factor<br />

uniquely. Suppose we have two factorizations<br />

n = p, . . *Pm = ql...qk, Pl

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!