Home
About How to Use
Taxonomy Glossary About the Author
Puzzle

Previous Month | RSS/XML | Current

WEBLOG

February 1st, 2026 (Permalink)

Spyhunters Vs. Spy

A spy has infiltrated the Agency for Counter-Terrorism (ACT). According to the agency's definition, a spy is someone who knows everyone in the agency by name but is known by name to no one else. An internal investigation by the agency's spyhunters has narrowed the suspects down to eight agents whom I will call only A through H to protect the seven innocent suspects.

The spyhunters interrogated the eight suspects in pairs, asking only whether they knew the other agent's name. While under interrogation, the agents were monitored by the most advanced deception-detection equipment available―equipment that is still classified as top secret―according to which each suspect interrogated told the truth.

Here are the answers elicited from the pairs of suspects when asked whether they knew each other's names:

A: "Yes"; B: "Yes".

C: "Yes"; D: "No".

E: "No"; F: "Yes".

G: "No"; H: "No".

Finally, after a short conference, the investigators called back into the interview room two of the agents, C and F, for further questioning. Asked if they knew each other's names, each replied:

C: "No"; F: "Yes".

Which suspect is the spy?

Extra Credit: Could there be more than one spy in the ACT? If not, why not?


* See: Anany & Maria Levitin, Algorithmic Puzzles (2011), pp. 8-9.

Previous Month | RSS/XML | Current