Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Probability

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2005, 02:45 PM
Guest
 
Posts: n/a
Default math riddle: King and His Prisoners (no content, long)

Had some fun with this couple weeks ago. Enjoy if you like this kind of stuff:

There is a king and he has n prisoners. The king has a dungeon in his castle that is shaped like a circle, and has n cell doors around the perimeter, each leading to a separate, utterly sound proof room. When within the cells, the prisoners have absolutely no means of communicating with each other.

The king sits in his central room and the n prisoners are all locked in their sound proof cells. In the king's central chamber is a table with a single chalice sitting atop it. Now, the king opens up a door to one of the prisoners' rooms and lets him into the room, but always only one prisoner at a time! So he lets in just one of the prisoners, any one he chooses, and then asks him a question, "Since I first locked you and the other prisoners into your rooms, have all of you been in this room yet?" The prisoner only has two possible answers. "Yes," or, "I'm not sure." If any prisoner answers "yes" but is wrong, they all will be beheaded. If a prisoner answers "yes," however, and is correct, all prisoners are granted full pardons and freed. After being asked that question and answering, the prisoner is then given an opportunity to turn the chalice upside down or right side up. If when he enters the room it is right side up, he can choose to leave it right side up or to turn it upside down, it's his choice. The same thing goes for if it is upside down when he enters the room. He can either choose to turn it upright or to leave it upside down. After the prisoner manipulates the chalice (or not, by his choice), he is sent back to his own cell and securely locked in.

The king will call the prisoners in any order he pleases, and he can call and recall each prisoner as many times as he wants, as many times in a row as he wants. The only rule the king has to obey is that eventually he has to call every prisoner any arbitrary number of times. So maybe he will call the first prisoner in a million times before ever calling in the second prisoner twice, we just don't know. But eventually we may be certain that each prisoner will be called in ten times, or twenty times, or any number you choose.

Here's one last monkey wrench to toss in the gears, though. The king is allowed to manipulate the cup himself, k times, out of the view of any of the prisoners. That means the king may turn an upright cup upside down or vice versa up to k times, as he chooses, without the prisoners knowing about it. This does not mean the king must manipulate the cup any number of times at all, only that he may.

The prisoners have a brief amount of time to come up with a strategy before they are put into their seperate cells. But while they plan, the king can plainly overhear them. What strategy should they choose to correctly answer the king's question and gain their freedom?
Reply With Quote
  #2  
Old 11-18-2005, 03:19 PM
Tom1975 Tom1975 is offline
Senior Member
 
Join Date: Jun 2005
Posts: 132
Default Re: math riddle: King and His Prisoners (no content, long)

bum rush the king and beat him to death with the chalice?
Reply With Quote
  #3  
Old 11-18-2005, 03:23 PM
jman220 jman220 is offline
Senior Member
 
Join Date: May 2005
Location: No Poker Sept-May
Posts: 822
Default Re: math riddle: King and His Prisoners (no content, long)

[ QUOTE ]
Had some fun with this couple weeks ago. Enjoy if you like this kind of stuff:

There is a king and he has n prisoners. The king has a dungeon in his castle that is shaped like a circle, and has n cell doors around the perimeter, each leading to a separate, utterly sound proof room. When within the cells, the prisoners have absolutely no means of communicating with each other.

The king sits in his central room and the n prisoners are all locked in their sound proof cells. In the king's central chamber is a table with a single chalice sitting atop it. Now, the king opens up a door to one of the prisoners' rooms and lets him into the room, but always only one prisoner at a time! So he lets in just one of the prisoners, any one he chooses, and then asks him a question, "Since I first locked you and the other prisoners into your rooms, have all of you been in this room yet?" The prisoner only has two possible answers. "Yes," or, "I'm not sure." If any prisoner answers "yes" but is wrong, they all will be beheaded. If a prisoner answers "yes," however, and is correct, all prisoners are granted full pardons and freed. After being asked that question and answering, the prisoner is then given an opportunity to turn the chalice upside down or right side up. If when he enters the room it is right side up, he can choose to leave it right side up or to turn it upside down, it's his choice. The same thing goes for if it is upside down when he enters the room. He can either choose to turn it upright or to leave it upside down. After the prisoner manipulates the chalice (or not, by his choice), he is sent back to his own cell and securely locked in.

The king will call the prisoners in any order he pleases, and he can call and recall each prisoner as many times as he wants, as many times in a row as he wants. The only rule the king has to obey is that eventually he has to call every prisoner any arbitrary number of times. So maybe he will call the first prisoner in a million times before ever calling in the second prisoner twice, we just don't know. But eventually we may be certain that each prisoner will be called in ten times, or twenty times, or any number you choose.

Here's one last monkey wrench to toss in the gears, though. The king is allowed to manipulate the cup himself, k times, out of the view of any of the prisoners. That means the king may turn an upright cup upside down or vice versa up to k times, as he chooses, without the prisoners knowing about it. This does not mean the king must manipulate the cup any number of times at all, only that he may.

The prisoners have a brief amount of time to come up with a strategy before they are put into their seperate cells. But while they plan, the king can plainly overhear them. What strategy should they choose to correctly answer the king's question and gain their freedom?

[/ QUOTE ]

Everyone says yes, and at least one of them is going free.
Reply With Quote
  #4  
Old 11-18-2005, 03:27 PM
Guest
 
Posts: n/a
Default Re: math riddle: King and His Prisoners (no content, long)

Remember, if one prisoner answers incorrectly, they are all killed. There is a way for the prisoners to win.
Reply With Quote
  #5  
Old 11-18-2005, 04:50 PM
TomCollins TomCollins is offline
Senior Member
 
Join Date: Jul 2003
Location: Austin, TX
Posts: 172
Default Re: math riddle: King and His Prisoners (no content, long)

Do the prisioners know what k is?
Reply With Quote
  #6  
Old 11-18-2005, 05:11 PM
Guest
 
Posts: n/a
Default Re: math riddle: King and His Prisoners (no content, long)

[ QUOTE ]
Do the prisioners know what k is?

[/ QUOTE ]

Yes.
Reply With Quote
  #7  
Old 11-18-2005, 07:09 PM
Guest
 
Posts: n/a
Default Re: math riddle: King and His Prisoners (no content, long)

I got a PM asking if the prisoners can mark the chalice or rotate it, or otherwise use it communicate other than flipping it up or down. The answer is no, they can only flip it.
Reply With Quote
  #8  
Old 11-18-2005, 07:11 PM
Guest
 
Posts: n/a
Default Re: math riddle: King and His Prisoners (no content, long)

Do the cells share doors?
Reply With Quote
  #9  
Old 11-18-2005, 07:16 PM
Guest
 
Posts: n/a
Default Re: math riddle: King and His Prisoners (no content, long)

[ QUOTE ]

Do the cells share doors?

[/ QUOTE ]

They do not; and there is no way for the prisoners to communicate between the cells.
Reply With Quote
  #10  
Old 11-18-2005, 07:32 PM
SteamingFish SteamingFish is offline
Member
 
Join Date: Jun 2005
Posts: 37
Default Re: math riddle: King and His Prisoners (no content, long)

[ QUOTE ]
[ QUOTE ]
Do the prisioners know what k is?

[/ QUOTE ]

Yes.

[/ QUOTE ]
They know k? Or did you mean n? If it's k, I might just freak out. [img]/images/graemlins/wink.gif[/img]
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.