Enigma 1005: Prime A v Square B
21 June 2019
Posted by on
From New Scientist #2160, 14th November 1998 [link]
At tennis a set is won by the first player to win 6 games, except that if it goes to 5 games all it is won either 7 games to 5 or 7 games to 6. (As far as this puzzle is concerned, this applies even to the final set).
The match between André and Boris went to a deciding fifth set. At the end of each set that André won, the total number of games played up to that point was always a prime number. At the end of each set that Boris won, the total number of games played up to that point was always a perfect square. No two sets contained the same number of games. If I told you the total number of games played at the end of one particular set you could deduce with certainty who won each individual set and what the score was in each set.
In giving the score of a tennis match, it is the convention to give the score in each set in order, always giving the match-winner’s score first, so that if the score is given as (say) 7-6, 5-7, 6-4, 3-6, 6-2, it shows that the two sets the match-winner lost were the second and fourth, won by the opponent by 7 games to 5 and 6 games to 3, respectively.
Using this convention, tell me who won my match and give me its score.