At a party, everyone shook hands with everybody else. There were 66 handshakes. How many people were at the party?
Mmm
Let there be k people at the party.
The first person shook with k-1 people.
the second with a further k-2 people
the kth person did not shake with anyone new.
So the number of handshakes was
1+2+3+.....+(k-1)
this is the sum of an AP S=n/2(a+L) = $$\frac{k-1}{2}(1+(k-1))=\frac{k(k-1)}{2}$$
so
$$\\\frac{k(k-1)}{2}=66\\\\
k(k-1)=132\\\\
k^2-k-132=0\\\\$$
$${{\mathtt{k}}}^{{\mathtt{2}}}{\mathtt{\,-\,}}{\mathtt{k}}{\mathtt{\,-\,}}{\mathtt{132}} = {\mathtt{0}} \Rightarrow \left\{ \begin{array}{l}{\mathtt{k}} = {\mathtt{12}}\\
{\mathtt{k}} = -{\mathtt{11}}\\
\end{array} \right\}$$
Obviously there is not a neg number of people so there must be 12 people.