**Puzzle:** King Octopus has servants with six, seven, or eight legs. The servants with seven legs always lie, but the servants with either six or eight legs always say the truth.

One day, 4 servants met :

The blue one says: “Altogether we have 28 legs”;

the green one says: “Altogether we have 27 legs”;

the yellow one says: “Altogether we have 26 legs”;

the red one says: “Altogether we have 25 legs”.

What is the colour of the servant that says the truth?

This is very famous logical puzzles.

**Solution:**

The green one is telling the truth.

Lets assume that one of them is telling the truth and then try to prove that. Since the four are disagreeing then 3 must be lying.

Lets say blue is telling the truth: so the blue one has either 6 or 8 legs. And each of the other octopus is lying hence has 7 legs. So our total legs becomes: 6 + 7 + 7 + 7 = 27 legs or 8 + 7 + 7 + 7 = 29 legs. But since blue said altogether we have 28 legs, we know he is lying.

If you follow this same logic for all of them, you realize that only the Green octopus can be telling the truth as the number of legs adds up.

yeah the answer is the green

Mr. Akhilesh it should be green because only on must be right and other three should be wrong so right Octopus may have legs 6 or 8 and other should be 7 so 8+7*3=29 is not there so 6+7*3=27 is right answer.