From New Scientist #1985, 8th July 1995 [link] [link]
In an inebriated state I tried to address two letters to each of five friends. I have listed my efforts below. Each envelope has four items:
– first name
– surname
– house name
– town
All the correct items occurred somewhere on the ten envelopes. But on each envelope the four items which I wrote all turned out to be from different people.
1: David Davis, Rose Cottage, Ely
2: Brian Clark, The Meadow, Carlisle
3: Ed. Andrews, Riverside, Bradford
4: Alan Eyres, Waters’ Edge, Altrincham
5: Ed. Clark, Belle View, Carlisle
6: David Andrews, Waters’ Edge, Ely
7: Clive Brown, Belle View, Doncaster
8: Brian Eyres, Riverside, Doncaster
9: Clive Clark, Riverside, Ely
10: Ed. Davis, Rose Cottage, Carlisle.
What is Brian’s name and address?
[enigma830]
Like this:
Like Loading...
Fortunately each of the components of the 5 addresses are unique, so we can use them to stand for themselves.
This Python program runs in 63ms. (Internal runtime is 3.1ms).
Run: [ @replit ]
Solution: Brian Andrews, Belle View, Altrincham.
The correct addresses are: