New Scientist Enigma 835 -Treble Top
by Mark Bryant
From Issue #1990, 12th August 1995
Whenever I play darts I keep track of my score by writing down how many points I scored for each go (consisting of three darts) followed by the number of that go. For example, if I scored 27, 154 and 84 on my first three visits I would have written 2711542843.
After a recent game I noticed that if the digits were consistently replaced by letters, with different letters for different digits, then it read:
TREBLETOPSATDARTS
My total score was a prime number.
Please find the value of PLEASE.
2 Comments
Leave one →
With fixes and improvements from Frits.
Without recursion (except for split_text).
I avoided using eval() on the sum string.