64 Coins

A puzzle from the site Riddle of the Day:

A warden offers a challenge to two prisoners. The first prisoner will enter a room that contains a chessboard. On each of the board’s 64 squares is a coin that’s either heads up or tails up. The guard will identify one square as the “target.”

The first prisoner must turn over exactly one coin and then leave the room. The second prisoner must then enter and, solely by viewing the board, determine which square is the target.

If they succeed, both prisoners will go free. They can confer beforehand on a strategy, but they may not communicate after that. Can they establish a plan that will always work?

Click for Answer