|
-
Mar 7th, 2003, 12:53 PM
#1
Thread Starter
New Member
The most fun - and most simple - Maths game in the world
Okay, perhaps slightly false advertising, but here goes.
Person A picks a number between 1 and 1,000,000
Person B must ascertain what the number is by asking a maximum of twenty yes/no questions.
Very simple, but surprisingly addictive. But the thread does not stop there.
What I want to know is something much more complicated; is it possible to win every time and if so, how would would one go about it? What's the minimum number of guesses without any "luck" involved?
Thanks for your time.
Mack
-
Mar 7th, 2003, 02:47 PM
#2
If you can ask twenty times , you better win all the time!
Since 2^20>1 000 000
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Mar 8th, 2003, 04:10 AM
#3
-
Mar 9th, 2003, 03:11 AM
#4
Conquistador
And if the person you're playing with isn't a nerd ?
jokes
-
Mar 9th, 2003, 05:28 AM
#5
So Unbanned
1000000/2^20
Is the number > 500,000? no
is the number > 250,000? no
is the number > 125,000? no
etc.
-
Mar 9th, 2003, 11:13 PM
#6
Fanatic Member
-
Mar 10th, 2003, 01:39 AM
#7
Looks like the starter of this threat left us!
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Mar 10th, 2003, 04:45 AM
#8
Conquistador
Re: Ok, but
Originally posted by sql_lall
unfortunately, this can get tricky when the number isn't divisible by two.
In that case, do what i said, but in reverse:
Q1) Is it >= 524288 (=2^19)
Q2) Is it >= 262144 (=2_18)
OR: Is it >= 786432 (=2^19 + 2^18)
etc
That way you can just keep on dividing by two, making it nice and simple
You'd just split the range
e.g.
Q1. is it > 500,000
if yes, is it > 250,00 then range = 250,000 --> 500,000
then you'd ask if it was > 375,000 etc...
Another method a friend suggested (which I haven't tested) is to ask if each digit is prime and determine how many digits there are in the number.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|