# 4.8.2 Having Fun with Math—the Party Puzzle

The next activity is a number puzzle, which introduces some more ways of adding numbers quickly in your head. You will see how to turn it into a party trick to amuse your friends.

## Activity: Party Puzzle

Write down the numbers 1 to 25 in order, in a 5×5 grid, so that the first row reads 1, 2, 3, 4, 5; the next row begins with 6, and so on.

Now choose five numbers from the grid as follows:

- For the first number, choose any number from the grid. In our example below, we chose 17.
- Now cross out the numbers in the same row and column as the chosen number.

- Choose the second number from the remaining numbers on the grid—our choice is 24. Then, cross out the numbers in the same row and column as the second number.

- Continue in this way until you have chosen five numbers. For example, let’s choose 17, 24, 15, 6, and 3. For your fifth number, there will be only one number left that’s not crossed out.

- Now add together the five selected numbers in your head or using pencil and paper. Check your answer with your calculator if you like. Here, the sum is .

Try the puzzle at least three more times, choosing different numbers each time. Work out the sums on paper or calculate in your head. What do you notice about the sums? Can you work out how to prove this?

### Comment

In the end, you will have selected exactly one number from each row, but none of these numbers appear in the same column. Find an easy set of five numbers from the grid that have this property.

### Answer

Whichever numbers you choose, you should find that the sum is always 65.

By specifying the way that the numbers must be chosen, exactly one number is chosen from each row and each column of the grid. It is then possible to prove that the sum will always be 65, without trying all the different choices of five numbers—that would be tedious!

In particular, you can choose the numbers on the diagonal from top-left to bottom-right because this gives one number in each row and column.

The sum is then . Finding the total of the diagonal elements is a quick way of working out the sum for this puzzle. Here, if we rearrange the order of the numbers so that we have and work out the sums in the parentheses first, we get , which is 65 as before.

Next is a general proof for why this trick works, if you’re interested in exploring the math a little more.

4.8.1 Codes