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.

A ANSWERS TO EXERCISES 191<br />

There is one solution <strong>for</strong> each way to write 2100 = x ‘y where x is even and<br />

y is odd; we let a == :1x-yI + i and b = i(x+y) + i. So the number of<br />

solutions is the number of divisors of 3. 52 .7, namely 12. In general, there<br />

are n,,2(n, + 1) ways to represent n,, pn”, where the products range over<br />

primes.<br />

2.31 tj,k>2j k = tja21/j2(l -l/j) :=tj,21/j(j-l). Thesecondsumis,<br />

similarly, 3/4.<br />

2.32 If2n~x~2~n+l,thesumsareO+~~~+n+(x-n-l)+~~~+(x-2n) =<br />

n(x-n) = (x-l) + (x-3) + ... + (x-2n+l). If 2n - 1 < x < 2n they are,<br />

similarly, both equa:i to n(x - n). (Looking ahead to Chapter 3, the <strong>for</strong>mula<br />

Li(x + l)] (x - [i(x + l)]) covers both cases.)<br />

2.33 If K is empty, AkEK ak = M. The basic analogies are:<br />

kEK<br />

H /j (C -t ak) = C + A ak<br />

kCK kEK<br />

~!ak+bk! = t%+tbk H A min(ak,bk)<br />

ktK kcK kEK kEK<br />

t<br />

kcK<br />

jEJ<br />

kEK<br />

t<br />

kEK<br />

ak =<br />

>, apikl<br />

PikICK<br />

jEJ kEK<br />

ak = ta,[kEK]<br />

k<br />

&K<br />

= min(r\ ak, A bk)<br />

kCK<br />

H A ak = // aplki<br />

PIUEK<br />

H A ai.k = A // aj.k<br />

iEl ieJ kEK<br />

kEK<br />

kEK<br />

H A ak = Aak.aslkeKi<br />

A permutation that 2.34 Let K+ = {k 1ok 3 0} and K = {k 1 ak < 0). Then if, <strong>for</strong> example, n<br />

consumes terms of<br />

one sign faster than<br />

is odd, we choose F, to be F, -I U E,, where E, g KP is sufficiently large that<br />

those of the other 1 kc(F, ,nK* ) ak - t-k@,, tpak) < A<br />

can steer the sum<br />

toward any value<br />

that it l&s.<br />

2.35 Goldbach’s sum can be shown to equal<br />

as follows: By unsumming a geometric series, it equals xkEP,La, k ‘; there<strong>for</strong>e<br />

the proof will be complete if we can find a one-to-one correspondence<br />

between ordered pairs (m, n) with m,n 3 2 and ordered pairs (k, 1) with<br />

k E P and 1 3 1, where m” = k’ when the pairs correspond. If m 4 P we let<br />

(m,n) H (m”, 1); but if m = ah E P, we let (m,n) H (an,b).<br />

kEK<br />

k

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

Saved successfully!

Ooh no, something went wrong!