There are 40 people in a room. All the people shake each other's hand once. (So if person 1 shook person 2's hand, person 2 shaking person 1's hand would not be a handshake.) How many handshakes occurred in all?
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.
This is a question of the number of ways to choose 2 persons out of 4 0 . It answer is looking for the number of combinations, N = 4 0 C 2 o r ( 4 0 2 ) = 2 ! × 3 8 ! 4 0 ! = 2 × 1 4 0 × 3 9 = 7 8 0 .