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.

518 ANSWERS TO EXERCISES<br />

and this is the case x = N of exercise 22.<br />

5.55 Let Q(k) = (k+Al)...(k+AM)Zand R(k) = (k+Bl)...(k+BN).<br />

Then t(k+ 1)/t(k) = P(k)Q(k- l)/P(k- l)R(k), where P(k) = Q(k) -R(k)<br />

is a nonzero polynomial.<br />

5.56 The solution to -(k+l)(k+2) = s(k+l)+s(k) is s(k) = -ik2-k-a;<br />

hence t (~:) 6k= i(-l)kp’(2k2 +4k+ 1) + C. Also<br />

(-l)k-’<br />

=-<br />

4<br />

k-t 1 - ‘+‘r”*> (,+,- ‘-)*)<br />

2<br />

= v(2k2+4k+1)+;<br />

5.57 We have t&+1)/t(k) = (k-n)(k+l +B)(-z)/(k+l)(k+O). There<strong>for</strong>e<br />

we let p(k) = k+ 8, q(k) = (k- n)(-z), r(k) = k. The secret function s(k)<br />

must be a constant 0~0, and we have<br />

k+B = (-z(k-n)--k)as;<br />

hence 010 = -l/(1 + z) and 8 = -nz/(l + z). The sum is<br />

t (;)zk(“-+6k = -&(;~;)z’+c<br />

(The special case z = 1 was mentioned in (5.18); the general case is equivalent<br />

to (5.1311.)<br />

5.58 If m > 0 we can replace (:) by $, (;I\) and derive the <strong>for</strong>mula T,,, =<br />

$T,,-I,~-~ - 6 (“i’). The summation factor (t)-’ is there<strong>for</strong>e appropriate:<br />

We can unfold this to get<br />

Tm,n<br />

- = To,n-m - H, + H, - H,-, .<br />

Lx<br />

Finally To,~ ,,, = H,. ,,,, so T,,,, = (z) (H, -H,). (It’s also possible to derive<br />

this result by using generating functions; see Example 2 in Section 7.5.)<br />

5.59 t.)*O,kal (y)[j=Llognrkj] = ti>0,k>, (~)[m’

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

Saved successfully!

Ooh no, something went wrong!