document.write( "Question 999315: i have invited nine people to a party. They all shake hands with me, and each pair shake hands. how many hand shakes are there?
\n" ); document.write( "9+8+7+6+5+4+3+2+1=45
\n" ); document.write( "how many hand shakes would there be if i invited n-1 people?\r
\n" ); document.write( "\n" ); document.write( "I organise another party with 9 guests and myself. some pairs shook hands, but some did not. no pair shook hands more than once. Must there be two people who shook hands with the same number of people? what if i had invited n-1 people?\r
\n" ); document.write( "\n" ); document.write( "Thank you
\n" ); document.write( "

Algebra.Com's Answer #616994 by ikleyn(52782)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "i have invited nine people to a party. They all shake hands with me, and each pair shake hands. how many hand shakes are there?
\n" ); document.write( "--------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The answer is  \"%28n%2A%28n-1%29%29%2F2\".     (\"C%5Bn%5D%5E2\",  if you know what does it mean).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If  n = 9+1 = 10,  then the number of hand shakes is \"%2810%2A9%29%2F2\" = 45.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This is very standard problem on combinations.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );