The Alien King 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 section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The green one is telling the truth.
Let's 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.
Let's say blue is telling the truth: so the blue one has either 6 or 8 legs. And each of the other alien servants 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.