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.

A ANSWERS TO EXERCISES 507<br />

this is divisible by 11.<br />

There<strong>for</strong>e the answer is: Either n = 1 or n # 4 is composite.<br />

4.54 EJ (1 OOO!) > 500 and es (1 OOO!) == 249, hence 1 OOO! = a. 1 0249 <strong>for</strong> some<br />

even integer a. Since 1000 = (1300)5, exercise 40 tells us that a. 2249 =<br />

looo!/5249 E -1 (mod 5). Also 2249 = _ 2, hence a = 2, hence a mod 10 = 2<br />

or 7; hence the answer is 2.1 0249.<br />

4.55 One way is to prove by induction that P&Pt(n + 1) is an integer;<br />

this stronger result helps the induction go through. Another way is based<br />

on showing that each prime p divides the numerator at least as often as it<br />

divides the denominator. This reduces to proving the inequality<br />

k=l<br />

which follows from<br />

k=l<br />

[(In - 1 )/ml + LWmj 3 lnhl<br />

The latter is true when 0 6 n < m, and both sides increase by 4 when n is<br />

increased by m.<br />

4.56 Let f(m) = ~~~~’ min(k,2n-k)[m\k], g(m) = EL=: (2n-2k-1) x<br />

[m\(2k+ l)]. The number of times p divides the numerator of the stated<br />

product is f(p) + f(p2) + f(p3) + ..., and the number of times p divides the<br />

denominator is g(p) + g(p2) + g(p3) + ... . But f(m) = g(m) whenever m<br />

is odd, by exercise 2.32. The stated product there<strong>for</strong>e reduces to 2”‘” ‘1, by<br />

exercise 3.22.<br />

4.57 The hint suggests a standard interchange of summation, since<br />

x [d\ml = x [m= dkl = Ln/dj .<br />

lSVlI$II O

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

Saved successfully!

Ooh no, something went wrong!