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.

358 GENERATING FUNCTIONS<br />

5 Find a generating function S(z) such that<br />

Basics<br />

[z”l S(z) = x (;) (,I,,) .<br />

k<br />

6 Show that the recurrence (7.32) can be solved by the repertoire method,<br />

without using generating functions.<br />

7 Solve the recurrence<br />

40 = 1;<br />

gn = gn I +29,-2+...+ng0,<br />

8 What is [z”] (ln(1 - z))z:‘(l - z)~+‘?<br />

<strong>for</strong> n > 0.<br />

9 Use the result of the previous exercise to evaluate xE=, HkHnpk.<br />

10 Set r = s = -l/2 in identity (7.61) and then remove all occurrences of<br />

l/2 by using tricks like (5.36). What amazing identity do you deduce? I deduce that Clark<br />

11 This problem, whose three parts are independent, gives practice in the<br />

manipulation of generating functions. We assume that A(z) = x:, anzn,<br />

Kent is really<br />

superman.<br />

B(z) = t, bnzn, C(z) = tncnzn,<br />

negative n.<br />

and that the coefficients are zero <strong>for</strong><br />

a If ‘TX = tj+,Zk '<br />

13 Prove Raney’s generalized lemma, which is stated just be<strong>for</strong>e (7.6~).<br />

14 Solve the recurrence<br />

go = 0, 91 = 1,<br />

gkgn-k,<br />

by using an exponential generating function.<br />

<strong>for</strong> n > 1,

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

Saved successfully!

Ooh no, something went wrong!