# 6 Attempts to Guess a Number Between 1-100 ~ Ranges

You get get 6 attempts to find the number between 1-100. Each "attempt" can either be a guess, or a range it could fall in, responses you could receive are "Correct!", "My number is lower.", "My number is higher", or "My number is within that range".

You have 6 tries to guess it, NOT to know it.

If you can do it in less than 6 please do post it.

• possible duplicate of Another 6 tries to guess a number between 1-100 – Ross Millikan Oct 21 '14 at 22:55
• That's a completely different question. This one gives you range capability, that gives you equations. – warspyking Oct 21 '14 at 23:44
• But the approach by SQB works the same way as the equations. You just want to divide the remaining possibilities in thirds (or as close as possible). Ranges are sufficient for that. – Ross Millikan Oct 22 '14 at 0:44
• I agree with @RossMillikan, but I will refrain from voting since the other question is mine. – SQB Oct 22 '14 at 13:07

It is impossible to do this with less than 6 guesses since we are guessing within 1-100. The maximum space we can guess in with less than 6 guesses is $81 = 3^{5-1}$. Less than 5 guesses would be $27$, and so on. However, you could guess in a space of up to $3^{6-1} = 243$ with 6 guesses.