### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,367)
- misc (4)
- project euler (2)
- puzzle (90)
- puzzle# (48)
- site news (58)
- tantalizer (94)
- teaser (7)

### Site Stats

- 233,130 hits

Programming Enigma Puzzles

30 December 2016

Posted by on **From New Scientist #1526, 18th September 1986** [link]

Three runs were scored in each over and they were all scored in singles.

What was the number of runs scored at the fall of each wicket?

[enigma377]

%d bloggers like this:

I wasn’t sufficiently familiar with the rules of cricket to solve this one without doing a bit of research [ https://en.wikipedia.org/wiki/Cricket#Format_of_the_game ], but I eventually managed to get enough clarification to write this Python 3 program, which runs in 58ms.

Solution:The total runs scored at the fall of each wicket are: 6 for 1, 11 for 2, 15 for 3, 19 for 4, 21 for 5, 24 for 6, 24 for 7, 30 for 8, 31 for 9, 36 for 10.I failed to work out the order in which the batsmen were out (except that, obviously, Johnson was left at the end). And can we (must we?) assume that the order in which they went in was alphabetic?

I assumed the order that the batsmen went in to play was the order given on the score sheet, and that gave me a single solution, so I was happy enough with that.