Everyone at a party of 20 shakes hands with everyone else once. How many handshakes?

At a party of 20 people, every guest shakes hands with every other guest exactly once, and no one shakes their own hand or repeats a handshake. Without counting them one by one, is there a quick way to work out the total number of handshakes that happened?

Reveal the answer

190 handshakes. Each of the 20 people shakes hands with the 19 others, giving 20 times 19 = 380, but that counts every handshake twice (once from each person's side), so the true total is 380 divided by 2, which is 190. In general, for n people, the total is n(n-1)/2, the same formula that generates the triangular numbers, and the identical logic explains why a league of n teams needs exactly that many matches for everyone to play everyone once.

— Wikipedia contributors, Triangular number — Handshake problem, a classic application of triangular numbers

One credited idea per card. No filler. Swipe the rest in Savvy.

Keep swiping — it's free Works right in your browser. No app store needed.

More Puzzles

All Puzzles cards →

Five ideas worth knowing, every week

The week's best cards and a puzzle, credited as always. Free, unsubscribe any time.