**From New Scientist #1688, 28th October 1989** [link] [link]

At a Halloween party I met a strangely beautiful red-haired woman who was gazing with longing into a bonfire. To my inquiries she replied: “(My telephone number) ^{2} = AABCCD and the exchange is 04617. I was born in the year given by: (AE) ^{F} = EDGE”

I realised that it was one of those ‘letters-for-digits-and-digits-for-letters’ puzzles, but I must have looked confused for she added: “The other letters are HIS.” So saying she vanished into thin air.

Given that in the above relations the same letter stands for the same digit and the same digit stands for the same letter; that different digits stand for different letters and vice versa; and that 04617 stands for the place where she now resides:

Can you solve the mystery and write down the digits 0 to 9 in the alphabetical order of the letters that represent them?

[enigma536]

### Like this:

Like Loading...

This Python program uses the [[

`SubstitutedExpression()`

]] solver from theenigma.pylibrary to deal with the alphametic expressions.It runs in 116ms.

Run:[ @repl.it ]There are 6 ways to fill out the letters (corresponding to the different ways to assign the unused digits to the letters H, I, S), but one of them gives a satisfactory solution to the puzzle.

Solution:The digits are: A=4, B=3, C=5, D=6, E=1, F=2, G=8, H=0, I=9, S=7.Using this assignment of digits to letters we find that the telephone number is: HADES 666. And the mystery woman was born in the year 1681.

Solution is the fourth answer in the multiple output below: