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.

4.9 PHI AND MU 137<br />

m is large? How can we solve the recurrence (4.55)? Well, the function<br />

g(m) = [m = 11 is obviously multiplicative-after all, it’s zero except when<br />

m = 1. So the Mobius function defined by (4.55) must be multiplicative, by<br />

Depending on bow what we proved a minute or two ago. There<strong>for</strong>e we can figure out what k(m)<br />

fast you read. is if we compute p(pk).<br />

When m = pk, (4.55) says that<br />

cl(l)+CL(P)+CL(P2)+...+CL(Pk) = 0<br />

<strong>for</strong> all k 3 1, since the divisors of pk are 1, . . . , pk. It follows that<br />

cl(P) = -1; p(pk) = 0 <strong>for</strong> k > 1.<br />

There<strong>for</strong>e by (4.52), we have the general <strong>for</strong>mula<br />

ifm=pjpz...p,;<br />

if m is divisible by some p2.<br />

(4.57)<br />

That’s F.<br />

If we regard (4.54) as a recurrence <strong>for</strong> the function q(m), we can solve<br />

that recurrence by applying Mobius’s rule (4.56). The resulting solution is<br />

v(m) = t Ad):.<br />

d\m<br />

For example,<br />

(~(14 = ~(1)~12+~~(2)~6+~(3)~4+~(4)~3+~(6)~2+~(12)~1<br />

=12-6-4+0+2+0=4.<br />

(4.58)<br />

If m is divisible by r different primes, say {p, , . . . , p,}, the sum (4.58) has only<br />

2’ nonzero terms, because the CL function is often zero. Thus we can see that<br />

(4.58) checks with <strong>for</strong>mula (4.53), which reads<br />

cp(m) = m(l - J-) . . . (I- J-) ;<br />

if we multiply out the r factors (1 - 1 /pi), we get precisely the 2’ nonzero<br />

terms of (4.58). The advantage of the Mobius function is that it applies in<br />

many situations besides this one.<br />

For example, let’s try to figure out how many fractions are in the Farey<br />

series 3n. This is the number of reduced fractions in [O, l] whose denominators<br />

do not exceed n, so it is 1 greater than O(n) where we define<br />

Q(x) = x v(k).<br />

l

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

Saved successfully!

Ooh no, something went wrong!