[Math] Logic puzzle: Which octopus is telling the truth

puzzlerecreational-mathematics

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 tell the truth.

One day, four 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 who tells the truth?

Best Answer

Hint: since they all disagree, at least three are lying. How many legs does that account for?