document.write( "Question 1116072: Ten students are to sit for an examination. Four students are doing mathematics and the other 6 different subjects. In how many ways can they be seated in a row if students doing mathematics are not to sit together? \r
\n" ); document.write( "\n" ); document.write( "The solution for this is 6!x7x6x5x4 but I got taught a different method and it did not work. I was taught to group all the maths people together so that there are now 7 groups. I then did 10!-7! to get the number of ways maths people not sitting together. I am really struggling with this questions and I would really appreciate it if you could post the solution and explain how you got to the answer (which is 604800). Thank you!
\n" ); document.write( "

Algebra.Com's Answer #731050 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
THE WAY THE SOLUTION WAS CALCULATED:
\n" ); document.write( "I have to agree with the \"5%21%2A7%2A6%2A5%2A4=604800\" solution.
\n" ); document.write( "\"6%21=720\" is the number of ways that you can arrange \"6\" non-math students in a row.
\n" ); document.write( "Get those students in the examination room, and let them pick spots in the row of chairs.
\n" ); document.write( "Ask each of them to leave empty seats in between them.
\n" ); document.write( "Remove the chairs that have no one sitting next to them.
\n" ); document.write( "You have now \"6%2B1=7\" empty spots
\n" ); document.write( "where you can place the math students
\n" ); document.write( "in a row of 6+7=13 seats.
\n" ); document.write( "As each math student walks in, let them choose among the 7 empty seats.
\n" ); document.write( "There are \"7%2A6%2A5%2A4=840\" different ways they can choose.
\n" ); document.write( "The first math student has 7 choices;
\n" ); document.write( "the second one has 6;
\n" ); document.write( "the third one has 5,
\n" ); document.write( "and the last one has 4 choices.
\n" ); document.write( "
\n" ); document.write( "WHY \"10%21-7%21\" DOES NOT WORK:
\n" ); document.write( "\"7%21\" is the number of ways you can get 7 groups in a row
\n" ); document.write( "so that all the members of each group are together.
\n" ); document.write( "As a consequence, \"10%21-7%21\" is the number of ways to place the 10 students to avoid having all 4 math students together, but not preventing cluster of 3 math students seating together, or pairs of math students seating together.
\n" ); document.write( "
\n" ); document.write( "ANOTHER WAY:
\n" ); document.write( "Out of 10 seats in a row, numbered 1 through10,
\n" ); document.write( "there are only 35 ways to pick 4 non-contiguous seats for the math students:
\n" ); document.write( " .
\n" ); document.write( "For each of those choices, you can have
\n" ); document.write( "\"4%21=24\" different seating orderings for the math students, and
\n" ); document.write( "\"6%21=720\" different seating orderings for the non-math students.
\n" ); document.write( "That multiplies to
\n" ); document.write( "\"35%2A24%2A720=604800\" different seating arrangements.
\n" ); document.write( "
\n" );