### Random Post

### Recent Posts

### Recent Comments

### Archives

### Categories

- article (11)
- enigma (1,115)
- misc (2)
- project euler (2)
- puzzle (29)
- site news (43)
- tantalizer (29)
- teaser (3)

### Site Stats

- 166,357 hits

Programming Enigma Puzzles

11 June 2013

Posted by on **From New Scientist #2582, 16th December 2006**

The four football teams, Magdala, Nazareth, Sepphoris and Tiberias, play each other once a season, with 2 points for a win and 1 for a draw. At the end of the season there is a table which orders the teams by points scored, and teams with equal points are bracketed together.

The prize money, in drachmas, is 40, 30, 20 and 10 for the teams in 1st, 2nd, 3rd, 4th places respectively; when teams are bracketed they divide the total money for their places evenly between themselves.

One match is played each week with the first four being MvS, NvT, MvT, NvS. After the fourth match, Jesus works out the points totals situation (PTS) and uses it to determine whether the fifth match should be MvN or SvT. He makes the choice so that in the sixth match both teams have a financial incentive to play hard. For example, if the PTS is M3, N2, S1, T2 then whichever is the fifth match, both teams in the sixth will play hard.

For how many PTSs is it essential to have MvN as the fifth match?

[enigma1422]

Advertisements

%d bloggers like this:

I found the wording in this problem confusing. I was on the verge of marking the puzzle as “flawed”.

Initially I thought that by “play hard” the setter would mean “play to win”. i.e. the prize money a team would get by winning the match was better than they would get for a draw. But if you go down that route it’s not possible to always choose a 5th match such that both teams are required to “play hard” in the final match. (You can relax what “essential” means, but that still won’t lead you to the required answer).

Instead, by interpreting “play hard” to mean “play to not lose”, we can always choose a 5th match such that both teams in the final match are required to “play hard” (i.e. try not to lose), and this route leads to the required answer.

This Python program runs in 44ms.

Solution:It is essential to have MvN as the fifth match in 10 (out of 81) cases.