Random Post
Recent Posts
Recent Comments
Archives
Categories
- article (11)
- enigma (1,451)
- misc (5)
- project euler (2)
- puzzle (90)
- puzzle# (91)
- site news (65)
- tantalizer (132)
- teaser (7)
- today (1)
Site Stats
- 266,438 hits
Programming Enigma Puzzles
From New Scientist #959, 24th July 1975 [link]
On the Mount of Mystery dwell those ostraglobulous giants Og, Gog and Magog. They can smell the blood of any Englishman within 400 leagues. So they spotted John Bull as soon as he came within range. But they let him get as far as the bar at the Pig and Whistle, while they finished their elevenses.
Then away they went. Og strode off in his five league boots, Gog in his six league boots and Magog in his seven league boots. Progress was speedy and John got a shock when he chanced to look though the bottom of his mug ten minutes later. Og was a mere nine leagues away, Gog a mere seven and Magog a mere ten.
Without going into gory details, can you say how far it is from the Mount to the Pig and Whistle?
[tantalizer409]
This Python program runs in 88ms.
Or:
Solution: It is 199 leagues from the Mount to the Pig and Whistle
This one is surely nonsensical. There are implications that the three giants set off at the same time, that their speeds are steady and that their stated distances from John Bull are measured at the same time. But by the time the giants get to 199 leagues they will be more than 50 leagues apart so they cannot be within 19 leagues of each other.
@Brian: Assuming they all travelled in a direct line (or at least all took the same route), they must have travelled a different number of steps to end up in the situation described. So if they are travelling together the ones with the shorter step distance must be making more steps to give them all a roughly constant speed.
Since boot length step length are not directly related, I just assumed that this number alluded to speed. But it seems that ‘x league boots’ really means ‘x league steps’.
Yes. Each pair of boots allows the wearer to travel the indicated distance in a single step.
See: [ https://en.wikipedia.org/wiki/Seven-league_boots ]