Sometimes real progress in maths comes when you find a way of looking at a problem in two different ways. Here is a great example of this.

Suppose you have people in a room and each person shakes hands with each other person once. How many handshakes do you get in total? The first person shakes hands with other people, the second shakes hands with the remaining people, the third shakes hands with remaining people, etc, giving a total of

handshakes.

But we can also look at this in another way: each person shakes hands with others and there are people, giving handshakes. But this counts every handshake twice, so we need to divide by 2, giving a total of

handshakes.

Putting these two arguments together, we have just come up with the formula for summing the first integers and we’ve proved that it is correct:

This puzzle is inspired by content on our sister site Wild Maths, which encourages students to explore maths beyond the classroom and is designed to nurture mathematical creativity. The site is aimed at 7 to 16 year-olds, but open to all. It provides games, investigations, stories and spaces to explore, where discoveries are to be made. Some have starting points, some a big question and others offer you a free space to investigate.

*Return to the Plus Advent Calendar*

## Gauss and the Handshake Problem

I think this is how Gauss managed to sum the integers 1 to 100 in record time when he was a schoolboy as 1+2+....+100 is the same as 50*101.