\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "12 letters choose 7, that C(12,7) = 792 ways to choose 7 letters\r\n" );
document.write( "for somebody to sit at. \r\n" );
document.write( "\r\n" );
document.write( "Notice that order DOES NOT matter when picking the letters,\r\n" );
document.write( "because picking letters J,A,C,G,I,E,K is the same as picking\r\n" );
document.write( "the letters C,K,I,J,A,G,E.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( " For each of those 792 ways to pick 7\r\n" );
document.write( "letters, the 7 people can be arranged in P(7,7) or 7! = 5040 ways.\r\n" );
document.write( "\r\n" );
document.write( "Notice that here order DOES matter when choosing which person sits\r\n" );
document.write( "where, because if two people switch seats, that is a different\r\n" );
document.write( "seating arrangement.\r\n" );
document.write( "\r\n" );
document.write( "Answer = C(12,7)×P(7,7) = 792×5040 = 3991680\r\n" );
document.write( "\r\n" );
document.write( "[In case that's not the right answer, it's because it was assumed that\r\n" );
document.write( "it was a round table mounted on a turn-table floor, so that no matter how\r\n" );
document.write( "you turned the people around, it would not count as a different seating\r\n" );
document.write( "arrangement, so the answer would be the above answer divided by the 12\r\n" );
document.write( "ways the rotating floor could be turned.]\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "