At a party, everyone shook hands with everybody else. There were 66 handshakes. How many people were at 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.
This situation can be expressed as 6 6 = 2 n ( n − 1 ) = k = 1 ∑ n − 1 k where n is the number of people present. 6 6 = 2 n ( n − 1 ) 1 3 2 = n ( n − 1 ) 1 2 = 1 1 n ( n − 1 ) 1 2 ∗ 1 1 = n ( n − 1 ) Because 1 2 − 1 = 1 1 and 11 is prime and cannot be factored further, we arrive at our solution: n = 1 2
The answer is : 12
Here you go,
In general, with n+1 people, the number of handshakes is the sum of the first n consecutive numbers: 1+2+3+ ... + n. Since this sum is n(n+1)/2, we need to solve the equation n(n+1)/2 = 66. This is the quadratic equation n^2+ n -132 = 0. Solving for n, we obtain 11 as the answer and deduce that there were 12 people at the party.
Problem Loading...
Note Loading...
Set Loading...
A literal implementation using M a t h e m a t i c a
Select[{25,30,12,14},Length@Subsets[Range@#,{2}]==66&]
returns 1 2