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.

288 SPECIAL NUMBERS<br />

The continuant polynomial K,(x1 ,x2,. . . , x,) has n parameters, and it<br />

is defined by the following recurrence:<br />

KoO = 1 ;<br />

K, (xl) = XI ;<br />

&(x1,. . . ,x,) = Kn-1 (xl,. . . ,x,-l )x, + Kn-2(x1,. . . , ~-2). (6.127)<br />

For example, the next three cases after K1 (x1) are<br />

Kz(x1 ,x2) = x1x2 + 1 ;<br />

K3(xl,x2,x3) = x1x2x3+x1 +x3;<br />

K4(xl,x2,x3,x4) = xlx2x3x4+x1x2+xlx4+x3x4+~<br />

It’s easy to see, inductively, that the number of terms is a Fibonacci number:<br />

K,(l,l,... ,I) = Fn+l .<br />

(6.128)<br />

When the number of parameters is implied by the context, we can write<br />

simply ‘K’ instead of ‘K,‘, ,just as we can omit the number of parameters<br />

when we use the hypergeometric functions F of Chapter 5. For example,<br />

K(x1, x2) = Kz(xl , x2) = x1 x2 + 1. The subscript n is of course necessary in<br />

<strong>for</strong>mulas like (6.128).<br />

Euler observed that K(x1, x2, . . . ,x,,) can be obtained by starting with<br />

the product x1 x2 . . . x,, and then striking out adjacent pairs xkXk+l in all<br />

possible ways. We can represent Euler’s rule graphically by constructing all<br />

“Morse code” sequences of dots and dashes having length n, where each dot<br />

contributes 1 to the length and each dash contributes 2; here are the Morse<br />

code sequences of length 4:<br />

. . . . ..- .-. -.. --<br />

These dot-dash patterns correspond to the terms of K(xl ,x2,x3, x4); a dot<br />

signifies a variable that’s included and a dash signifies a pair of variables<br />

that’s excluded. For example, � - � corresponds to x1x4.<br />

A Morse code sequence of length n that has k dashes has n-2k dots and<br />

n - k symbols altogether. These dots and dashes can be arranged in (“i”)<br />

ways; there<strong>for</strong>e if we replace each dot by z and each dash by 1 we get<br />

K,,(z, z,. . PZk (6.129)

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

Saved successfully!

Ooh no, something went wrong!