### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

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

### Site Stats

- 177,959 hits

Advertisements

Programming Enigma Puzzles

22 January 2013

Posted by on **From New Scientist #2632, 1st December 2007**

In this puzzle, each letter has a value of a positive whole number. A letter has its own same value throughout, but different letters do not necessarily have different values.

For example, all the vowels have value 1, but all the consonants have values greater than 1. Only one letter has a value of 10 or more.

Given any word it is possible to calculate its value by adding up the values of the individual letters. The words ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, LOTS have different values (all 20 or less) and these words are in increasing order of their values.

Find the value of VALUES.

[enigma1471]

Advertisements

%d bloggers like this:

If turns out there’s only one possible value for N which means that ONE, TWO, …, NINE are consecutive numbers from ONE=10 to NINE=18. With this little bit of analysis you get a reasonably compact Python program. It runs in 34ms.

Solution:VALUES = 18.