9 votes

Impossible Escape - a puzzle

Tags: puzzle

This is a very hard puzzle. There is a solution that guarantees 100% chance of escape.


You and your friend are incarcerated. Your jailer offers a challenge. If you complete the challenge you are both free to go. Otherwise you are condemned to die. Here are the rules:

-The jailer will take you into a private cell. In the cell will be a chessboard and a jar containing 64 coins.

-The jailer will take the coins, one-by-one, and place a coin on each square on the board. He will place the coins randomly on the board. Some coins will be heads, and some tails (or maybe they will be all heads, or all tails; you have no idea. It's all at the jailer's whim. He may elect to look and choose to make a pattern himself, he may toss them placing them the way they land, he might look at them as he places them, he might not …). If you attempt to interfere with the placing of the coins, it is instant death for you. If you attempt to coerce, suggest, or persuade the jailer in any way, instant death. All you can do it watch.

-Once all the coins have been laid out, the jailer will point to one of the squares on the board and say: “This one!” He is indicating the magic square. This square is the key to your freedom.

-The jailer will then allow you to turn over one coin on the board. Just one. A single coin, but it can be any coin, you have full choice. If the coin you select is a head, it will flip to a tail. If it is a tail it will flip to a head. This is the only change you are allowed to make to the jailers initial layout.

-You will then be lead out of the room. If you attempt to leave other messages behind, or clues for your friend … yes, you guessed it, instant death!

-The jailer will then bring your friend into the room.

-Your friend will look at the board (no touching allowed), then examine the board of coins and decide which location he thinks is the magic square.

-He gets one chance only (no feedback). Based on the configuration of the coins he will point to one square and say: “This one!”

-If he guesses correctly, you are both pardoned, and instantly set free. If he guesses incorrectly, you are both executed.

-The jailer explains all these rules, to both you and your friend, beforehand and then gives you time to confer with each other to devise a strategy for which coin to flip.

What is your strategy? How do you escape?


Original source and answer: http://datagenetics.com/blog/december12014/index.html

1 comment

  1. panic
    Link
    This puzzle is related to error correcting codes, which are used to send information (like the arrangements of coins on a chessboard) over noisy communication channels (where coins can be randomly...

    This puzzle is related to error correcting codes, which are used to send information (like the arrangements of coins on a chessboard) over noisy communication channels (where coins can be randomly flipped). The puzzle of ECCs is preparing a chessboard to send to your friend in a way that they'll know (depending on the details of the code)

    • if any of the coins have been flipped,
    • how many coins have been flipped, or even
    • which coins in particular have been flipped

    without knowing the original state of the board! Usually these "chessboards" have an encoded message—if your friend can identify which coins have been flipped, they can flip them back and read the message as if nothing happened.

    2 votes