### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,149)
- misc (2)
- project euler (2)
- puzzle (38)
- site news (44)
- tantalizer (40)
- teaser (3)

### Site Stats

- 175,242 hits

Advertisements

Programming Enigma Puzzles

1 February 2012

Posted by on **From New Scientist #2746, 6th February 2010** [link]

In July 2009, 16 months after winning the individual diving gold medal from the 10-metre platform board at the European Championships at the age of 13, Thomas Daley won the gold medal at the World Championships. So it is fitting that I can offer this puzzle:

In this subtraction, digits have been consistently replaced by letters, with different letters representing different digits. No number starts with a zero. Since there are 11 different letters, everything is in

base 11– use the digits 0 to 9 as normal and add a symbol of your choice for the extra digit.Please send in the 6-digit number (still in base 11) that is represented by THOMAS.

[enigma1581]

Advertisements

%d bloggers like this:

The following Python program runs in 32ms.

Solution:THOMAS = 103274 (base 11).Using the substituted sum solver from the

enigma.pymodule, the following Python program can be used to solve this Enigma in 275ms (a shorter program, but slower).