document.write( "Question 975511: How many permutations are there in the letters
\n" ); document.write( "of the word COCKROACH
\n" ); document.write( "

Algebra.Com's Answer #597272 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "COCKROACH\r\n" );
document.write( "\r\n" );
document.write( "It's a 9-letter word, and if none of the letters looked alike the answer would\r\n" );
document.write( "be 9!.  However there is no way to tell the difference between two arrangements\r\n" );
document.write( "that just have the C's or the O's switched around.\r\n" );
document.write( "\r\n" );
document.write( "So we must divide 9! by the number of ways the 3 C's can be rearranged within\r\n" );
document.write( "any given permutation, which is 3!, and also we must divide by the number of\r\n" );
document.write( "ways the 2 O's can be swapped, which is 2!.\r\n" );
document.write( "\r\n" );
document.write( "Answer: \"9%21%2F%283%212%21%29=30240\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );