Data set: Knights and knaves (Hard)
Knights and knaves
On an island every inhabitant is either a knight, who always tells the truth, or a knave, who always lies. Six inhabitants, A, B, C, D, E and F, make one statement each:
- A: “B is a knave.”
- B: “Exactly three of us six are knights.”
- C: “D is a knave, or A is a knight.”
- D: “E and F are of the same type.”
- E: “A and D are of the same type.”
- F: “C is a knave, or E is a knave.”
(“X or Y” is true when at least one of X, Y is true.)
Suppose B's statement were instead “Exactly four of us six are knights”, and all the other statements stayed the same. Who would then be the knights?
AA, C and F only
BB, C and E only
CC only
DA and C only
Show answer & solution
Correct answer: A. A, C and F only
Solution: First, B cannot be a knight: then A is a knave; if E is a knight, D is a knave (same as A), D's lie makes F a knave, and F's lie makes C and E knights — only B, C, E are knights, three not four; if E is a knave, D is a knight, D's truth makes F a knave like E, and F's lie needs E to be a knight — impossible. So B is a knave. Then A's 'B is a knave' is true, so A is a knight; C's statement is then true (A is a knight), so C is a knight. E says A and D are the same type: if E were a knight, D would be a knight, but D's 'E and F same type' would force F to be a knight too, and F's 'C or E is a knave' would be false — a contradiction. So E is a knave, D is a knave (different from A), and D's lie means E and F differ, so F is a knight; F's claim 'E is a knave' is indeed true. Knights: A, C, F — three, so B's 'four' is false, consistent. A full check of all 64 assignments gives only this one.