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.

nue.<br />

Where did you say<br />

this casino is?<br />

3.2 FLOOR/CEILING APPLICATIONS 75<br />

The whole setup can be analyzed systematically if we use the summation<br />

techniques of Chapter 2, taking advantage of Iverson’s convention about<br />

logical statements evaluating to 0 or 1:<br />

1000<br />

w =xr n is a winner]<br />

?I=1<br />

= x [Lfij \ n ] = ~[k=Lfi~][k\nl(l 6n610001<br />

l

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

Saved successfully!

Ooh no, something went wrong!