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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4 FACTORIAL FACTORS 115<br />

We can use this observation to get another proof that there are infinitely<br />

many primes. For if there were only the k primes 2, 3, . . . , Pk, then we’d<br />

have n! < (2”)k = 2nk <strong>for</strong> all n > 1, since each prime can contribute at most<br />

a factor of 2” - 1. But we can easily contradict the inequality n! < 2”k by<br />

choosing n large enough, say n = 22k. Then<br />

contradicting the inequality n! > nn/2 that we derived in (4.22). There are<br />

infinitely many primes, still.<br />

We can even beef up this argument to get a crude bound on n(n), the<br />

number of primes not exceeding n. Every such prime contributes a factor of<br />

less than 2” to n!; so, as be<strong>for</strong>e,<br />

n! < 2nn(n).<br />

If we replace n! here by Stirling’s approximation (4.23), which is a lower<br />

bound, and take logarithms, we get<br />

hence<br />

nrr(n) > nlg(n/e) + i lg(27rn) ;<br />

This lower bound is quite weak, compared with the actual value z(n) -<br />

n/inn, because logn is much smaller than n/logn when n is large. But we<br />

didn’t have to work very hard to get it, and a bound is a bound.<br />

4.5 RELATIVE PRIMALITY<br />

When gcd(m, n) = 1, the integers m and n have no prime factors in<br />

common and we say that they’re relatively prime.<br />

This concept is so important in practice, we ought to have a special<br />

notation <strong>for</strong> it; but alas, number theorists haven’t come up with a very good<br />

one yet. There<strong>for</strong>e we cry: HEAR us, 0 MATHEMATICIANS OF THE WORLD!<br />

Like perpendicular<br />

LETUS NOTWAITANYLONGER! W E CAN MAKEMANYFORMULAS CLEARER<br />

BY DEFINING A NEW NOTATION NOW! LET us AGREE TO WRITE ‘m I n’,<br />

lines don ‘t have<br />

a common direction,<br />

perpendicular<br />

numbers don’t have<br />

AND TO SAY U, IS PRIME TO Tl.;<br />

In other words, let us declare that<br />

IF m AND n ARE RELATIVELY PRIME.<br />

common factors. ml-n w m,n are integers and gcd(m,n) = 1, (4.26)

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

Saved successfully!

Ooh no, something went wrong!