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.

7 EXERCISES 363<br />

37 Let a,, be the number of ways to write the positive integer n as a sum of<br />

powers of 2, disregarding order. For example, a4 = 4, since 4 = 2 + 2 =<br />

2+1+1 =l+l+l+l. Byconventionweletao=l. Letb,=tLZoak<br />

be the cumulative sum of the first a’s.<br />

a Make a table of the a’s and b’s up through n = 10. What amazing<br />

relation do you observe in your table? (Don’t prove it yet.)<br />

b Express the generating function A(z) as an infinite product.<br />

Use the expression from part (b) to prove the result of part (a).<br />

C<br />

38 Find a closed <strong>for</strong>m <strong>for</strong> the double generating function<br />

M(w,z) =: t min(m,n)w”‘z”<br />

Tll.n30<br />

Generalize your answer to obtain, <strong>for</strong> fixed m 3 2, a closed <strong>for</strong>m <strong>for</strong><br />

M(zI, . ..,.z,) = z<br />

n, ,...,n,30<br />

min(n.1,. . , n,) 2:‘. . . z”,m .<br />

39 Given positive integers m and n, find closed <strong>for</strong>ms <strong>for</strong><br />

t<br />

k,kz...k, and<br />

l

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

Saved successfully!

Ooh no, something went wrong!