Step 1. form a way to order the boxes. Potentially, for example, have the box closest to the door be labeled 1, the next closest 2, etc.
Step 2. sort by names alphabetically, and assign each name a corresponding number
Step 3. As each prisoner walks into the room, go to the box that would correspond with his number - which corresponds to his name. Open the box. read the name inside, recall what number is associated with that name, go to the box associated with that number. Repeat.
Following this path, there is a chain of boxes that would eventually lead back to the box he started at. If he were to return to his starting box, it will be because he found a box containing a name that has a number corresponding to the box he started at. But - big but - his name was the one that corresponded to the box he started at. So if the chain brings him back to his starting box, he must've found the box with his name. If that chain is shorter than 50 boxes, he will have found the box with his name within his 50 box limit. These chains are random, and if names are placed randomly in the 100 boxes, there is a 31% chance that no chains are longer than 50, and everybody survives.
As for proof of that number - each box has a 1/(100 - #boxes in chain so far) probability of leading back to the original box. over fifty boxes in a chain, the overall probability becomes 31.8% for each chain.
Add a Comment or Suggest an Answer
Rate this puzzle
No votes yet β be the first!Score: 0
β€οΈ 0
π 0
π§ 0
π 0
π 0
Comments (1)
Step 1. form a way to order the boxes. Potentially, for example, have the box closest to the door be labeled 1, the next closest 2, etc.
Step 2. sort by names alphabetically, and assign each name a corresponding number
Step 3. As each prisoner walks into the room, go to the box that would correspond with his number - which corresponds to his name. Open the box. read the name inside, recall what number is associated with that name, go to the box associated with that number. Repeat.
Following this path, there is a chain of boxes that would eventually lead back to the box he started at. If he were to return to his starting box, it will be because he found a box containing a name that has a number corresponding to the box he started at. But - big but - his name was the one that corresponded to the box he started at. So if the chain brings him back to his starting box, he must've found the box with his name. If that chain is shorter than 50 boxes, he will have found the box with his name within his 50 box limit. These chains are random, and if names are placed randomly in the 100 boxes, there is a 31% chance that no chains are longer than 50, and everybody survives.
As for proof of that number - each box has a 1/(100 - #boxes in chain so far) probability of leading back to the original box. over fifty boxes in a chain, the overall probability becomes 31.8% for each chain.
Add a Comment or Suggest an Answer