**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]

### Like this:

Like Loading...

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).