TripleM wrote:
Just to clarify one point, each prisoner chooses a box, looks in it, then chooses another box, etc. They don't have to decide on the 50 boxes first.
I think this is only going to be relevant if the names in the first boxes they pick affects which boxes they pick next. uhh? ooh!
Prisoners have to assume that everyone before them guessed correctly (even if they don't get killed straight away, then if someone before them was incorrect it doesn't matter what they do)
4 prisoners
1st prisoner picks first two boxes
2nd prisoner picks first box:
* if sees 1 picks second box
* if sees 2 finishes
* if sees 34 picks third box (because 2nd box contains 1)
3rd prisoner looks in first box
* if sees 1 picks third box (2nd contains 2)
* if sees 2 picks third box (2nd contains 1)
* if sees 3 finishes
* if sees 4 picks fourth box (2nd contains 1, 3rd contains 2)
4th prisoner looks in first box
* if sees 1 picks fourth box (2nd contains 2, 3rd has 3)
* if sees 2 picks fourth box (2nd contains 1, 3rd has 3)
* if sees 3 picks fourth box (2nd contains 1, 3rd has 2)
* if sees 4 finishes
living combinations:
1234
2134
3124
4123
4/24 chance of success. Maybe a better strategy by looking in different boxes first? I have to go to work now.