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 533<br />

6.55 The stated sum is *(Xzn)(mn’;l)~ by Vandermonde’s convolution.<br />

To get (6.70)~ differentiate and set x = 0.<br />

6.56 First replace k”+’ by ((k - m) + m) n + 1 and expand in powers of<br />

k - m; simplifications occur as in the derivation of (6.72). If m > n or<br />

m < 0, the answer is (-1 )“n! - m”/(“*“‘). Otherwise we need to take the<br />

limit of (5.41) minus the term <strong>for</strong> k = m, as x + -m; the answer comes to<br />

(-l)nn!+(-l)m+l(~)mn(n+l +mH,, m-mHm).<br />

6.57 First prove by induction that the nth row contains at most three<br />

distinct values A,, 13 B, 3 C,; if n is even they occur in the cyclic order<br />

[C,,,B,,A,,B,,C,], while if n is odd they occur in the cyclic order<br />

[C,,B,,,A,,A,,B,I. Also<br />

A2,+1 = A2n + Bzn;<br />

B2n+1 = B2n +Cz,;<br />

ALn = 2A2n I;<br />

Bin = A2n I +Bzn I;<br />

CZn+l = 2c>,; C2n = B 2n 1+C2n-1.<br />

It follows that Q,, == A, - C, = F,+,. (See exercise 5.75 <strong>for</strong> wraparound<br />

binomial coefficients of order 3.)<br />

6.58 (a) x n>OF;z'L ~(1 -z)/(l +z)(l -3z+t’) = ;((2-3z)/(l -32+<br />

z2) -2/(1 +zij. (b) 1 naOF;t~n=z(l-2z-z2)/(1-4z-z2)(1+z-z2)=<br />

;(2z/(l -42-z2)+32/(1 +z-2’)). (These <strong>for</strong>mulas are obtained by squaring<br />

or cubing Binet’s <strong>for</strong>mula (6.123) and summing on n, then combining terms<br />

so that @ and $ disappear.) It follows that Fi,, - 4Ff, - FA , = 3(-l)nF,.<br />

(The corresponding recurrence <strong>for</strong> mth powers has been found by Jarden and<br />

Motakin [163].)<br />

6.59 Let m be fixed. We can prove by induction on n that it is, in fact,<br />

possible to find such an x with the additional condition x $ 2 (mod 4). If x<br />

is such a solution, we can move up to a solution modulo 3”+’ because<br />

F8.3r,m, G 3". F8.3rIm~ , G 3n+1 (mod 3”+‘);<br />

either x or x + 8.3” ’ or x + 16.3” ’ will do the job<br />

6.60 F1 + 1, F2 + 1, F3 + 1, FJ - 1, and F6 - 1 are the only cases. Otherwise<br />

the Lucas numbers of exercise 28 arise in the factorizations<br />

F2m+(-lIm = L,+,F, I; F2m+1+(-lIm = LnF,,,;<br />

F2m-(-lIm = L, IF,+,; F2m+1-(-lim = L+,F,.<br />

(We have F,,, - (-l)nF,p, = L,F, in general.)<br />

6.61 1/F2, = F, ,/F, - FL,,-, /Fz,,, when m is even and positive. The<br />

second sum is 5/4 - F3.pp~/F3.21t, <strong>for</strong> n 3 1.

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

Saved successfully!

Ooh no, something went wrong!