I hope people who have taken logic and/or a discrete math course know of the type of problem I mean, but here's what you need to know: Knights always speak the truth, and knaves always lie.
We are on a knight-knave island. Our troubles aren't over. In order to save our lives we must determine which of three men are king. Their names are Jal, Tak, and Zeb, and they made the following statements.
Jal: "I am not the king." Tak: "I am the king." Zeb: "I am the king." From this, of course, nothing can be determined, but then two witch doctors Weg and Woo speak up and say the following. Weg: "Either Tak is a knave or Zeb is a knight." Woo: "Either I am a knave or Weg and Jal are the same type (meaning both knights or both knaves)."
From this the identity of the king can be determined. Which one is he: Jal, Tak or Zeb? Also, what type is each of the five?
Can anyone help solve this problem?