Outline Mathematics
Logic Problems

Robbery #1

Here's a problem to tackle:

 

Scheherazade began: "It has reached me, O Auspicious King, that one of Ali Baba's famous forty thieves stole into Abdul's shop and robbed him of some diamonds. Fortunately, they were all recovered, and then it was determined that the thief was either Sabit, Salim, or Shamhir - all of whom were in Ali Baba's famous robber band. At the trial, each of the three accused one of the others, but Shamhir is the only one who lied. Is he necessarily guilty?

"Not necessarily," replied the king. "An innocent man might lie in order to protect his friend."

Is Shamhir necessarily guilty?

Solution


|Up| |Contact| |Front page| |Contents| |Algebra|

Copyright © 1996-2018 Alexander Bogomolny

Solution

 

Scheherazade began: "It has reached me, O Auspicious King, that one of Ali Baba's famous forty thieves stole into Abdul's shop and robbed him of some diamonds. Fortunately, they were all recovered, and then it was determined that the thief was either Sabit, Salim, or Shamhir - all of whom were in Ali Baba's famous robber band. At the trial, each of the three accused one of the others, but Shamhir is the only one who lied. Is he necessarily guilty?

"Not necessarily," replied the king. "An innocent man might lie in order to protect his friend."

Is Shamhir necessarily guilty?

(In the applet below, click on the underlined omitted expressions. See what happens.)

// formulations

This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at https://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Do not forget to check your solution.


|Up| |Contact| |Front page| |Contents| |Algebra|

Copyright © 1996-2018 Alexander Bogomolny

66388695