# King and Hats famous puzzle

A king wants an advisor and comes to ask the 3 wisest sages.

He blindfolds them and put the hats on their head. Afterwards, the king takes off their blindfolds. He tells them that their hat is either blue or white. He tells them that whoever can deduce the color of their hat will be his next advisor. Also he tells them that at least one of the sages will be wearing a blue hat. The sages can all see each other’s hats except of course, their own. Sage A sees that the other 2 are wearing blue hats.

For hours no one spoke, then Sage A stands up and tells the king the colour of his hat. What color is it and how does he know?

** BLUE
The King’s Wise Men:** This is one of the simplest induction puzzles and one of the clearest indicators to the method used.

- Suppose that there was one blue hat. The person with that hat would see two white hats, and since the king specified that there is at least one blue hat, that wise man would immediately know the color of his hat. However, the other two would see one blue and one white hat and would not be able to immediately infer any information from their observations. Therefore, this scenario would violate the king’s specification that the contest would be fair to each. So there must be at least two blue hats.
- Suppose then that there were two blue hats. Each wise man with a blue hat would see one blue and one white hat. Supposing that they have already realized that there cannot be only one (using the previous scenario), they would know that there must be at least two blue hats and therefore, would immediately know that they each were wearing a blue hat. However, the man with the white hat would see two blue hats and would not be able to immediately infer any information from his observations. This scenario, then, would also violate the specification that the contest would be fair to each. So there must be three blue hats.

Since there must be three blue hats, the first man to figure that out will stand up and say blue.

The answer is blue.

The king hasn’t decided which he wants to make his advisor so all the sages have to see the same thing to make it a fair test.

If his hat were blue both B and C would see two people with blue hats and cannot say which colour their hat would be due to the fact that the king did not specify about how many hats would be of each colour.

If his hat were white then, again, neither B nor C can deduce what colour their own hat is as the king didn’t specify as I said above.

If sage A had a white hat, then using your words, Sage A would be “Unique” but since the King cannot decide which Sage to chose it would have to be a fair test.

I may be wrong, but after thinking about it, this is the only logical explanation I could reach.

A’s hat must be blue.

If it was white then either of B or C (who we are told are wise sages and presumably also reasonable logicians) would be able to work out that they have a blue hat.

Here’s how: If A’s hat is white then B can reason that if his own hat was also white, then C would see two white hats. Since they have all been told that at least one of them will be given a blue hat, C would know immediately that his must be the blue one. Since C has said nothing “for hours” B should be able to conclude quite quickly that his own hat was also blue.

Since B has also not said anything for hours, A must eventually conclude that the premise that his own hat is white is false and that he also has a blue one (although if these sages were any good they would reach this conclusion after a few minutes).

The logic fails if the reason for the other sage’s silence is because they have fallen asleep with their eyes open.

Sage A’s hat is white.

It cannot be blue.

1. The puzzle says that “Sage A sees that the other 2 sages are wearing blue hats.” So both sage B and sage C wear blue hats. That’s a given.

2. Neither B or C can deduce the color of their own hats, and therefore, they remain silent.

Here’s why:

If A’s hat were white, B would see C’s blue hat, and see A’s white hat. B’s hat could be either blue or white.

If A’s hat were blue, B would see C’s blue hat, and A’s blue hat. B’s hat could still be either blue or white.

If A’s hat were white, C now would see B’s blue hat, and see A’s white hat. C’s hat could be either blue or white.

If A’s hat were blue, C would see B’s blue hat, and see A’s blue hat. C’s hat could still be either blue or white.

So Sage B and C cannot speak up for sure.

3. After a while, when Sage A sees that neither sage B or sage C speak up, (and they speak up if they could solve the ridde), sage A reasons that neither sage B nor sage C, based on what they see, can deduce the color of their own hats.

Sage A reasons further that since one of the three sages should be able to speak to the king, sage A alone must be the one able to figure it out, since the other two cannot.

There must be something that makes him unique, something that he sees that the other two don’t see, something that he sees that makes the riddle solveable for him, while the other two cannot solve it. What does he see?

He sees two blue hats (B’s blue hat and C’s blue hat). So Sage A again reasons correctly that only he sees two blue hats. Since sage B’s hat is blue and sage C’s hat is blue, Sage A correctly reasons that his own hat cannot be blue. (Or else all three sages would see the other two sages wear blue hats).

So A’s hat must be white, and so A speaks up.

————————-

Note:

If A’s hat were blue, all three sages would be wearing blue, each sage would see the other two wearing blue hats, and there would be nothing to differentiate them, with all three silent. Nobody would speak up and they would all go home.

### Your Answer

## More puzzles to try-

### What is the logic behind these ?

3 + 3 = 3 5 + 4 = 4 1 + 0 = 3 2 + 3 = 4 ...Read More »### Defective stack of coins puzzle

There are 10 stacks of 10 coins each. Each coin weights 10 gms. However, one stack of coins is defective ...Read More »### Which clock works best?

Which clock works best? The one that loses a minute a day or the one that doesn’t work at all?Read More »### (Advanced) Cheryl’s Birthday Puzzle

Paul, Sam and Dean are assigned the task of figuring out two numbers. They get the following information: Both numbers ...Read More »### Five greedy pirates and gold coin distribution Puzzle

Five puzzleFry ship’s pirates have obtained 100 gold coins and have to divide up the loot. The pirates are all ...Read More »### Magical flowers!!

A devotee goes to three temples, temple1, temple2 and temple3 one after the other. In front of each temple, there ...Read More »### Tuesday, Thursday what are other two days staring with T?

Four days are there which start with the letter ‘T‘. I can remember only two of them as “Tuesday , Thursday”. ...Read More »### How could only 3 apples left

Two fathers took their sons to a fruit stall. Each man and son bought an apple, But when they returned ...Read More »### How Many Eggs ?

A farmer is taking her eggs to the market in a cart, but she hits a pothole, which knocks over ...Read More »### HARD MATHS – How much faster is one train from other Puzzle

Two trains starting at same time, one from Bangalore to Mysore and other in opposite direction arrive at their destination ...Read More »### Most Analytical GOOGLE INTERVIEW Question Revealed

Let it be simple and as direct as possible. Interviewer : Tell me how much time (in days) and money would ...Read More »### Lateral thinking sequence Puzzle

Solve this logic sequence puzzle by the correct digit- 8080 = 6 1357 = 0 2022 = 1 1999 = ...Read More »### How did he know?

A man leaves his house in the morning to go to office and kisses his wife. In the evening on ...Read More »### Pizza Cost Math Brain Teaser

Jasmine, Thibault, and Noah were having a night out and decided to order a pizza for $10. It turned out ...Read More »### Which letter replaces the question mark

Which letter replaces the question markRead More »### Which room is safest puzzle

A murderer is condemned to death. He has to choose between three rooms. The first is full of raging fires, ...Read More »### Richie’s Number System

Richie established a very strange number system. According to her claim for different combination of 0 and 2 you will ...Read More »### Srabon wanted to pass

The result of math class test came out. Fariha’s mark was an even number. Srabon got a prime!! Nabila got ...Read More »### Become Normal!!

Robi is a very serious student. On the first day of this year his seriousness for study was 1 hour. ...Read More »### Sakib Knows The Number!

Ragib: I got digits of a 2 digit number Sakib: Is it an odd? Ragib: Yes. Moreover, the sum of ...Read More »