Usually to reveal a number from 1 to N you need no more than log2N guesses in the worst case.
How many guesses are needed if I told you that my number is a 4-digit palindrome divisible by 7 ?
Assume the worst case, of course.
|
||
perplexus dot info |
|
|
|||||||||||||||||||||||||||||||||||||||||