### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,367)
- misc (4)
- project euler (2)
- puzzle (90)
- puzzle# (48)
- site news (58)
- tantalizer (94)
- teaser (7)

### Site Stats

- 233,124 hits

Programming Enigma Puzzles

23 December 2014

Posted by on **From New Scientist #1392, 12th January 1984** [link]

In this puzzle, as usual, different symbols stand consistently for different digits. You might like to reflect on the following multiplication and subtraction sums:

Of course things don’t always work out like that: sometimes one sees double!:

Given all the equations, what is ENIGMA?

[enigma245]

%d bloggers like this:

This Python program runs in 32ms, which is quite a lot faster than just considering all possible permutations.

Solution:ENIGMA = 689512.The remaining letters are: n = 4, e = 0, g = 3.

I got the same answer and tried splitting up the permutations to speed up my code.

I also used your idea of lower case letters for reflected capital letters.