Specimen 0·a An illustration of the week's idea
The phone book, halved
Lecture 0’s phone book, run as the thirteen lines on page 3 of the notes. Each tear throws away half of what is left, so a thousand pages need about ten tears, and four billion need thirty-two.
Pick up phone bookOpen to middle of phone bookLook at pageIf person is on pageCall personElse if person is earlier in bookOpen to middle of left half of bookGo back to line 3Else if person is later in bookOpen to middle of right half of bookGo back to line 3ElseQuit
Looking for Senthilkumar, on page 810.
Pages 1 to 1,024 in hand. No tears yet.
- One page at a time
- 1,024 pages, at worst
- Two at a time
- 512 turns
- Halving
- 10 tears


























