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.

540 ANSWERS TO EXERCISES<br />

6.85 The property holds if and only if N has one of the seven <strong>for</strong>ms 5k,<br />

2.5k, 4.5k, 3j.5k, 6.5k, 7.5k, 14.5k.<br />

6.86 A candidate <strong>for</strong> the case n mod 1 = $ appears in [179, section 61,<br />

although it may be best to multiply the integers discussed there by some<br />

constant involving fi.<br />

6.87 (a) If there are only finitely many solutions, it is natural to conjecture<br />

that the same holds <strong>for</strong> all primes. (b) The behavior of b, is quite<br />

strange: We have b, = lcm( 1,. . . , n) <strong>for</strong> 968 6 n 6 1066; on the other hand, Another reason to<br />

b600 =kIIl(l,... , 600)/(33 .52 .43). Andrew Odlyzko observes that p divides remember 1066?<br />

lcm( 1,. . . ,n)/b, if and only if kpm 6 n < (k + 1)~“’ <strong>for</strong> some m 3 1 and<br />

some k < p such that p divides the numerator of Hk. There<strong>for</strong>e infinitely<br />

many such n exist if it can be shown, <strong>for</strong> example, that almost all primes<br />

have only one such value of k (namely k = p - 1).<br />

6.88 (Brent [33] found the surprisingly large partial quotient 1568705 in ey,<br />

but this seems to be just a coincidence. For example, Gosper has found even<br />

larger partial quotients in rr: The 453,294th is 12996958 and the 11,504,93lst<br />

is 878783625.)<br />

6.89 Consider the generating function tm,nZO ]“‘~“(w”‘z~, which has the<br />

<strong>for</strong>m ,Yn(wF(a,b,c) +zF(a’,b’,~‘))~, where F( a, b, c) is the differential operator<br />

a + b4, + ~4,.<br />

7.1 Substitute z4 <strong>for</strong> 0 and z <strong>for</strong> o in the generating function, getting<br />

1 /( 1 - z4 - 2’). This is like the generating function <strong>for</strong> T, but with z replaced<br />

by 2’. There<strong>for</strong>e the answer is zero if m is odd, otherwise Fm,2+l.<br />

7.2 G(z) = l/(1 - 22) + l/(1 - 32); G(z) = ezr + e3=.<br />

7.3 Set z = l/10 in the generating function, getting $ In y.<br />

7.4 Divide P(z) by Q(z), getting a quotient T(z) and a remainder PO(Z)<br />

whose degree is less than the degree of Q. The coefficients of T(z) must be<br />

added to the coefficients [z”] Po(z)/Q(z) <strong>for</strong> small n. (This is the polynomial<br />

T(z) in (7.28).)<br />

7.5 This is the convolution of ( 1 + z’)~ with ( 1 + z)~, so<br />

S(z) = (1 +z+z’+z3)‘.<br />

Incidentally, no simple <strong>for</strong>m is known <strong>for</strong> the coefficients of this generating<br />

function; hence the stated sum probably has no simple closed <strong>for</strong>m. (We can<br />

use generating functions to obtain negative results as well as positive ones.)

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

Saved successfully!

Ooh no, something went wrong!