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.

Kissinger, take note.<br />

Is this a hint or a<br />

warning?<br />

‘7 EXERCISES 365<br />

49 This is a problem about powers and parity.<br />

a Consider the sequence (ao, al, a2,. . . ) = (2,2,6,. . . ) defined by the<br />

<strong>for</strong>mula<br />

an= (1 + da" + (1 - l/2)".<br />

Find a sim:ple recurrence relation that is satisfied by this sequence.<br />

b Prove that [(l + &!)“I E n (mod 2) <strong>for</strong> all integers n > 0.<br />

C Find a number OL of the <strong>for</strong>m (p + $7)/2, where p and q are positive<br />

integers, such that LLX”] E n (mod 2) <strong>for</strong> all integers n > 0.<br />

Bonus problems<br />

50 Continuing exercise 22, consider the sum of all ways to decompose polygons<br />

into polygons:<br />

Q=-tA+n++++<br />

+(>+(p+gJ+ft+~+Q+Q+... .<br />

Find a symbolic equation <strong>for</strong> Q and use it to find a generating function<br />

<strong>for</strong> the number of ways to draw nonintersecting diagonals inside a convex<br />

n-gon. (Give a closed <strong>for</strong>m <strong>for</strong> the generating function as a function of z;<br />

you need not find a closed <strong>for</strong>m <strong>for</strong> the coefficients.)<br />

51 Prove that the product<br />

pw cos 2 jn -<br />

mfl<br />

is the generating function <strong>for</strong> tilings of an m x n rectangle with dominoes.<br />

(There are mn factors, which we can imagine are written in the mn cells<br />

of the rectangle. If mn is odd, the middle factor is zero. The coefficient<br />

of II~ ok is the number of ways to do the tiling with j vertical and k<br />

horizontal dominoes.) Hint: This is a difficult problem, really beyond<br />

the scope of this book. You may wish to simply verify the <strong>for</strong>mula in the<br />

case m = 3, n � = 4.<br />

52 Prove that the polynomials defined by the recurrence<br />

P*(Y) = (Y - ;)” - ng (;) (;)n-kpkh), integer n 3 0,<br />

have the <strong>for</strong>m p,,(y) = x.“,=, IcIy”, where Ii1 is a positive integer <strong>for</strong><br />

1 6 m 6 n. Hint: This exercise is very instructive but not very easy.

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

Saved successfully!

Ooh no, something went wrong!