Go back
Prisoners and Boxes

Prisoners and Boxes

Posers and Puzzles

X
Cancerous Bus Crash

p^2.sin(phi)

Joined
06 Sep 04
Moves
25076
Clock
07 Dec 06
Vote Up
Vote Down

100 prisoners are given the sort of crazy deal they always get in these problems. Each prisoner gets a number. There's a room with 100 identical boxes in a row, each containing a random number from 1-100, with no repeats. Each prisoner, in turn and isolated from all the others, will get a chance to open 50 boxes of his choosing, one at a time. If each prisoner manages to find his own number in one of the 50 boxes he opens, all prisoners go free. The prisoners can make a strategy together at the beginning, but there can be no communication afterwards. The room is completely unmarkable, and will be reset to the exact same starting state for each prisoner.
Clearly if every prisoner picked randomly the probability that that prisoner would be successful would be 0.5 and therefore the probability they would all be successful would be 0.5^100 (read:practically zero, actually it's ~8*10^-31). What is the optimal strategy that the prisoners should use?

AThousandYoung
1st Dan TKD Kukkiwon

tinyurl.com/2te6yzdu

Joined
23 Aug 04
Moves
26758
Clock
07 Dec 06
3 edits
Vote Up
Vote Down

The prisoners don't get to watch other prisoners pick, right? Can they communicate via bonks on the wall or something?

If the outside prisoners cannot get information from prisoners inside, then it's hard to see what they can do.

F

Joined
11 Nov 05
Moves
43938
Clock
07 Dec 06
Vote Up
Vote Down

A very interesting problem indeed.
I have no idea about the solution so I eagerly wait for the correct answer and the explanation.

m

Joined
07 Sep 05
Moves
35068
Clock
07 Dec 06
Vote Up
Vote Down

I think I see a way to make sure the probability they all succeed is 0.5. I won't post it yet - see what else comes up.

h

Indiana

Joined
29 May 06
Moves
1694
Clock
07 Dec 06
Vote Up
Vote Down

I'm just throwing out this completely random response. Each prisoner takes their Sharpie Marker in with them and marks each number in the boxes they picked on the bottom of the box. the first prisoner marks half the boxes then if the second prisoner doesnt see his/her number he opens the other half of the boxes. 😀 I know this isn't the right answer.

FL

Joined
21 Feb 06
Moves
6830
Clock
07 Dec 06
Vote Up
Vote Down

I've seen this one before. I couldn't work it out and found the answer quite surprising - if I remember correctly they have roughly a 1 in 3 chance of surviving.

m

Joined
07 Sep 05
Moves
35068
Clock
07 Dec 06
Vote Up
Vote Down

Originally posted by mtthw
I think I see a way to make sure the probability they all succeed is 0.5. I won't post it yet - see what else comes up.
OK, I've re-read the question, and that was wrong. Glad I didn't post it now 🙂

P
Bananarama

False berry

Joined
14 Feb 04
Moves
28719
Clock
07 Dec 06
Vote Up
Vote Down

Can the prisoners communicate in a roundabout way by picking the boxes in order, then waiting a specified length depending on the numbers they pick? I haven't checked yet, but there must be some function that makes the amount of time spent a unique sum given a unique set of numbers. Eventually, the whole set of boxes should be mapped out guaranteeing success for the remaining prisoners.

SJ247

Joined
05 Oct 05
Moves
63425
Clock
07 Dec 06
Vote Up
Vote Down

All prisoners choose the same 50 boxes, say the left 50. You didn't say the prisoners received a unique number between 1-100. They might all have the same number.

P
Bananarama

False berry

Joined
14 Feb 04
Moves
28719
Clock
07 Dec 06
Vote Up
Vote Down

Just did a quick Google, and found a detailed solution that I couldn't help but read. 😞 But a very interesting problem, with a very interesting and counter-intuitive answer.

A

Joined
25 Nov 06
Moves
1434
Clock
07 Dec 06
1 edit
Vote Up
Vote Down

A brilliant puzzle.
🙂
The answer is... well...(sweats)... um...
OK I admit it, I have no clue!

d

Joined
27 Oct 05
Moves
72627
Clock
07 Dec 06
Vote Up
Vote Down

Someone post the answer?

Sicilian Sausage

In your face

Joined
21 Aug 04
Moves
55993
Clock
07 Dec 06
Vote Up
Vote Down

Originally posted by dmnelson84
Someone post the answer?
Google it if you want to be enlightened.

d

Joined
27 Oct 05
Moves
72627
Clock
07 Dec 06
Vote Up
Vote Down

Fantastic riddle.

u
The So Fist

Voice of Reason

Joined
28 Mar 06
Moves
9908
Clock
07 Dec 06
1 edit
Vote Up
Vote Down

Originally posted by jimslyp69
Google it if you want to be enlightened.
someone post the google link? 😉

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.