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.

238 BINOMIAL COEFFICIENTS<br />

72 Prove that, if m, n, and k are integers and n > 0,<br />

n2k-v(k)<br />

is an integer,<br />

where v(k) is the number of l’s in the binary representation of k.<br />

73 Use the repertoire method to solve the recurrence<br />

X0 = a; x, := p;<br />

Xn = (n-1)(X,-j +X,-2),<br />

<strong>for</strong> n > 1<br />

Hint: Both n! and ni satisfy this recurrence.<br />

74 This problem concerns a deviant version of Pascal’s triangle in which the<br />

sides consist of the numbers 1, 2, 3, 4, . . . instead of all l’s, although the<br />

interior numbers still satisfy the addition <strong>for</strong>mula:<br />

i<br />

1<br />

i<br />

2 2<br />

343 :<br />

I<br />

S’<br />

4 7 7 4<br />

5 v4 l1 5<br />

G, . ii0 i/., $ lb .b<br />

If ((t)) denotes the kth number in row n, <strong>for</strong> 1 < k < n, we have<br />

((T)) = ((t)) = n, and ((L)) = ((“,‘)) + ((:I:)) <strong>for</strong> 1 < k < n. Express<br />

the quantity ((i)) in closed <strong>for</strong>m.<br />

75 Find a relation between the functions<br />

” (n) = ; (31;: 1) ’<br />

S2(n) = 6 (Sk”, 2)<br />

and the quantities 12”/.3J and [2n/31.<br />

76 Solve the following recurrence <strong>for</strong> n, k 3 0:<br />

Q n,O = 1; Qo,k = [k=Ol;<br />

Q n,k = Qn-l,k + Qn-l,k-, + <strong>for</strong> n, k > 0.

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

Saved successfully!

Ooh no, something went wrong!