Home > Logic > Liars and Knights
One Native, Two Roads (Posted on 2006-05-22) |
|
You are lost once again in the land of Knights, Knaves, and Liars, and once again you find yourself at a fork in the road. You know that one path will lead you to a safe return home, while the other will lead you to your own gruesome demise. (You really need to find a better vacation spot next year!)
Standing at the fork is a native, who might be either a Knight (who always tells the truth), a Knave (who alternates between true and false statements), or a Liar (who always lies). You have no way of knowing which he is. Worse yet, you realize that if he is a knave, you don't know if he will tell you the truth first, and then lie, or lie first and then tell the truth, etc.
What is the fewest number of questions you have to ask to find out which is the safe road, and what are they?
|
Submitted by tomarken
|
Rating: 3.8333 (6 votes)
|
|
Solution:
|
(Hide)
|
One possible solution uses two questions:
1. "Are you a knave?"
A Knight would say no.
A Lie-first knave would lie and say no.
A Truth-first knave would tell the truth and say yes.
A liar would say yes.
Therefore, if the native says "no" to question #1, you know that they are either a Knight or a Lie-first knave. Either way you know that they will tell the truth on the next question.
Similarly, if the native says "yes" to question #1, you know that they are either a Liar or a Truth-first knave. Either way you know that they will lie on the next question.
Once you know this, you ask the second question:
2. "Is this the safe road?"
|
Comments: (
You must be logged in to post comments.)
|
|
Please log in:
Forums (1)
Newest Problems
Random Problem
FAQ |
About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On
Chatterbox:
|