... and so I shall introduce you to the "hat" puzzle. There are many versions of this puzzle, but I heard this one first so I think of it as the canonical "hat" puzzle. I am sure I will post many more.
A hundred mathematicians are shipwrecked on a cannibal-infested island. The cannibals are sporting, though, so rather than skewer and roast all the mathematicians right away, they give them a chance to win their freedom, saying,
Tomorrow at dawn we will line you up on the beach, each facing the back of the next person in line. Then we will take a bunch of red and blue hats and put one hat on each person's head.What strategy do the mathematicians develop to save themselves? Can they save everyone?
Starting with the last person in line (that is, the person who can see everyone else), we will ask you what color hat you are wearing. If you answer correctly, you will be set free. If you answer incorrectly, we will drag you off to "participate" in the evening feast.
This post's theme song: "Problem Girl" by Rob Thomas.
1 comment:
Kudos to C., who came up with a very creative answer that used the right idea to save 95 of the people for sure, and each of the other five with probability 1/2.
For those still puzzling, I offer this "hint": the best solution saves 99 of the prisoners for sure, and the other 1 prisoner 50% of the time.
Post a Comment