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.

150 NUMBER THEORY<br />

57 Let S(m,n) be the set of all integers k such that<br />

mmodk+nmodk 3 k.<br />

For example, S(7,9) = {2,4,5,8,10,11,12,13,14,15,16}. Prove that<br />

x q(k) = m.n<br />

kESlm,n)<br />

Hint: Prove first that x,6msn ,&,,, v(d) = IL>, v(d) ln/dJ. Then<br />

consider L(m + n)/d] - [m/d] - Ln/dJ.<br />

58 Let f(m) = Ed,,,, d. Fi:nd a necessary and sufficient condition that f(m)<br />

is a power of 2.<br />

Bonus problems<br />

59 Prove that if x1, . . . , x, are positive integers with 1 /x1 f. . . + 1 /x, = 1,<br />

then max(xl,. . . ,x,) < e,. Hint: Prove the following stronger result by<br />

induction: “If 1 /x1 +. . . + 1 /x, + l/o1 = 1, where x1, . . . , x, are positive<br />

integers and 01 is a rational number 3 max(xl , . . , xn), then a+ 1 < e,+l<br />

and x1 . xn (a + 1) < el . . . e,e,+l .” (The proof is nontrivial.)<br />

60 Prove that there’s a constant P such that (4.18) gives only primes. You<br />

may use the following (Ihighly nontrivial) fact: There is a prime between<br />

p and p + cp’, <strong>for</strong> some constant c and all sufficiently large p, where<br />

g=losl.<br />

1920<br />

61 Prove that if m/n, m’/n’, and m/‘/n” are consecutive elements of 3~,<br />

then<br />

m” = [(n+N)/n’]m’-m,<br />

n” = [(n+N)/n’jn’-n.<br />

(This recurrence allows us to compute the elements of 3N in order, starting<br />

with f and ft.)<br />

62 What binary number corresponds to e, in the binary tf Stern-Brocot<br />

correspondence? (Express your answer as an infinite sum; you need not<br />

evaluate it in closed <strong>for</strong>m.)<br />

63 Show that if Fermat’s Last Theorem (4.46) is false, the least n <strong>for</strong> which<br />

it fails is prime. (You may assume that the result holds when n = 4.)<br />

Furthermore, if aP + bP = cp and a I b, show that there exists an integer<br />

m such that<br />

a+b = mp, if p$c;<br />

pPV1 mP , if p\c.<br />

Thus c must be really huge. Hint: Let x = a + b, and note that<br />

gcd(x, (ap + (x - a)p)/x) = gcd(x,paP-‘).

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

Saved successfully!

Ooh no, something went wrong!