- 310,314 hits
Programming Enigma Puzzles
From New Scientist #2403, 12th July 2003 [link]
George has written down a proper fraction whose numerator and denominator each have four digits, and has calculated the corresponding decimal fraction, thus:
All the digits of the fraction and its decimal equivalent have been replaced by # marks. Moreover, the bar over the decimal expression indicates that its value comprises one decimal digit that is followed by a recurring decimal with a seven-digit cycle.
The numerator, the denominator and the non-recurring decimal digit include nine different digits.
If the numerator is a prime, what are the seven digits under the bar?