Brain-Teaser 24
From The Sunday Times, 3rd September 1961 [link]
Someone here in Land’s End Lane of the name of Roger Gray (or is it “Grey”? I never can remember which), seems gratified to find that by allotting distinctive digits against appropriate letters of the alphabet he can, by substituted figures for letters, make an addition sum of his name, the answer to which, converted back into letters in similar manner, spells his house number.
There seems nothing particularly surprising in this, for if it really is “Gray” and if he happened to live at No. 7, as I do, all he would have to do would be to write:
and substitute say:
However, he doesn’t live at No. 7, and moreover, I happen to know that there’s an 8 in his sum.
So where does Roger live, and what is his sum?
[teaser24]
Jim Randell 8:26 am on 28 February 2021 Permalink |
The house number must be 5 or 6 letters, so there is only a limited number of possibilities.
We can use some handy routines from the enigma.py library to solve this puzzle. The [[
int2words()
]] function converts a number into English, and then we can use the [[SubstitutedSum()
]] solver to find solutions to the corresponding alphametic sums.The following Python program runs in 127ms.
Run: [ @repl.it ]
Solution: Roger Gray lives at number 12. The sum is: 94729 + 7953 = 102682.
LikeLike