Calvin and Patrick are playing an interesting game, with Calvin going first.
They take it in turns to take out a number from the set without replacement until either of them has got three of their numbers summing to 15.
Who, if any, has the winning strategy?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Reading the question, we find that this is a game. Obviously, the first thing everyone solving this should do is to
Play the game!
Let's play a few variations and see what we get:
Calvin 5 8 1 9 Patrick 3 2 6
Calvin has got the numbers ( 9 , 5 , 1 ) which add to 15, so he won. Let's play another game.
Calvin 5 8 9 3 6 Patrick 4 2 1 7
This time, we find out that a draw has occurred.
Playing a few other games might make you confident that there is no winning strategy, but how would you prove it. Have a think about this before scrolling down.
Anyone think up a way of solving this? This was my method below:
Notice that this game is equivalent to playing Tic-Tac-Toe on a 3x3 magic square! Let's prove this statement.
The number of ways of writing 15 as the sum of three distinct integers less than 10 can be counted as below:
1 5 = 1 + 5 + 9 , 1 + 6 + 8 , 2 + 4 + 9 , 2 + 5 + 8 , 2 + 6 + 7 , 3 + 4 + 8 , 3 + 5 + 7 , 4 + 5 + 6 ,
Thus, there are 8 ways of doing so. Furthermore, in a magic square, there are 8 rows, column and diagonals that add up to 15, each of which is distinct. Thus, all sums of distinct integers under 10 that add up to 15 are present in a 3x3 magic square.
To prove that this is a drawn game, we notice that Tic-Tac-Toe is also a drawn game if played optimally. Using this fact, we get that there is no winning strategy.
Here is a diagram of the magic square:
4 9 2 3 5 7 8 1 6
The first game would have the Tic-Tac-Toe representation of (where the X is Calvin and the O is Patrick)
O O O X X X X
The second game would have the Tic-Tac-Toe representation of
O X O X X O X O X
(Try to overlay the diagrams over the magic square. I, unfortunately, couldn't get that to work because Brilliant doesn't allow the \xcancel command)