document.write( "Question 580374: Six students are to be chosen from a class of 18 to represent the class at a math contest. How many ways can the six students be chosen? \n" ); document.write( "
Algebra.Com's Answer #371220 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
There are 18 ways to choose the first person\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 17 ways to choose the second person (since a single person can't be chosen twice)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 16 ways to choose the third person\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 15 ways to choose the fourth person\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 14 ways to choose the fifth person\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 13 ways to choose the sixth person\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Multiply these all together to get: 18*17*16*15*14*13 = 13366080\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So there are 13366080 different ways assuming order matters.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If order does NOT matter, then this means that you've been overcounting. To fix this issue, you need to divide by 6! = 6*5*4*3*2*1 = 720 to get\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "13366080/720 = 18564\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So there are 18564 different ways assuming order does NOT matter.
\n" ); document.write( "
\n" );