### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,176)
- misc (2)
- project euler (2)
- puzzle (44)
- site news (46)
- tantalizer (48)
- teaser (3)

### Site Stats

- 183,172 hits

Advertisements

Programming Enigma Puzzles

26 January 2014

Posted by on **From New Scientist #1309, 10th June 1982** [link]

Four typical solvers of the Enigma live at the four corners of an imaginary square. They all live very happily knee deep in calculators, log tables, string, sticky tape and aspirins, emerging just occasionally to go to work. By trade they are an astronomer, bus driver, cryptographer and dustman. Here are five statements about them, just one of which is false:

(1) Paul lives one mile due NW of the astronomer;

(2) Quentin lives one mile due NE of the bus driver;

(3) Randolph lives one mile due SW of the cryptographer;

(4) Sebastian lives one mile due SE of the dustman;

(5) Randolph lives due S of the dustman.Find which solver lives in which corner, and what each of their jobs are.

There are now 594 *Enigma* puzzles on the site, with a complete archive of puzzles from the start of *Enigma* in February 1979 up to this puzzle, originally set in June 1982 (164 puzzles). And also a complete archive of puzzles from August 2005 to the final *Enigma* puzzle in December 2013 (428 puzzles).

Numerically this is just over one third of the 1780 *Enigma* puzzles ever published. Sometimes (at Christmas) there have been multiple puzzles with the same number, so in total I expect there are slightly more than 1780 *Enigmas* – although there have been a couple of puzzles that have been published more than once as different *Enigmas*, so that brings the total back down again. Whatever the final tally is I’m choosing to celebrate the fact that I’m one third of the way towards a full archive of all *Enigma* puzzles now.

I shall keep adding puzzles to the site as time permits. Enjoy!

[enigma164]

Advertisements

%d bloggers like this:

This Python program test all possible arrangements and looks for cases where exactly four of the given statements are true. It runs in 44ms.

Solution:Paul, the cryptographer, lives at the North corner; Sebastian, the bus driver, lives at the South corner; Randolph, the dustman, lives at the West corner; Quentin, the astronomer, lives at the East corner.