### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,314)
- misc (3)
- project euler (2)
- puzzle (78)
- puzzle# (21)
- site news (54)
- tantalizer (80)
- teaser (7)

### Site Stats

- 217,165 hits

Programming Enigma Puzzles

5 September 2018

Posted by on **From New Scientist #997, 22nd April 1976** [link]

Mrs Green and Mrs Brown were conversing about their young in honeyed tones. The topic was prowess at simple arithmetic. Under a mantle of mutually admiring words, they had soon agreed to a duel. The offspring were summoned from the sand pit and set the task of adding seven, three and two.

Little Willie Green wrote done 7 + 3 + 2 = 12 in barely the time it takes to boil an egg. Tommy Brown was still chewing his pencil. Several minutes elapsed before he arrived at SEVEN + THREE + TWO = TWELVE. But Mrs Green’s consoling noises were short lived. Young Tommy, it emerged, had treated the problem as one in cryptarithmetic, with each different letter standing for a different digit.

What was his (correct) numerical rendering of TWELVE?

[tantalizer446]

%d bloggers like this:

This is a simple alphametic sum puzzle, which we can solve using the [[

SubstitutedSum()]] solver from theenigma.pylibrary.This run file executes in 183ms.

Run:[ @repl.it ]Solution:TWELVE = 102352.We can make two different sums, because the values of N and O can be interchanged.