At a party, everyone shook hands exactly once with everybody else.
If the number of handshakes was 2016 how many persons attended the party?
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.
Let the number of partycipants (sic!) be n.
Each person shook hands with the (n-1) other people (but not with him/herself.) Any 2 person shook hands only once (so we have to eliminate double counting).
Hence, we can set up the following equation:
2 n × ( n − 1 ) = 2 0 1 6
n 2 − n − 4 0 3 2 = 0
After solving the quadratic equation for n > 0, we get:
n = 6 4