Guess the number

I expect a book report on the efficiency of this code on my desk by Monday.