document.write( "Question 1003467: How many ways can 6 people be lined up to get on the bus.
\n" ); document.write( "If certain 2 people refuse to follow each other how many ways are possible?
\n" ); document.write( "

Algebra.Com's Answer #620281 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
There are \"6%21=1%2A2%2A3%2A4%2A5%2A6=720\" ways that 6 people can be lined up to get on the bus.
\n" ); document.write( "(That is because there are 6 ways to choose who is first,
\n" ); document.write( "for each of those choices, there are 5 ways to choose who is second,
\n" ); document.write( "and so on).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are \"4%21%2A2%2A5=%281%2A2%2A3%2A4%29%2A5=5%21=120\" ways to line up 6 people placing together the 2 people who refuse to be next to each other.
\n" ); document.write( "{That is because there are \"4%21\" ways to arrange the other 4 people,
\n" ); document.write( "\"2\" ways to arrange the 2 people who refuse to be next to each other,
\n" ); document.write( "and \"5\" places to insert the problem pair in the line formed by tho other 4).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since \"120\" of the \"720\" ways that 6 people can be lined up to get on the bus place together the 2 people refuse to be next to each other,
\n" ); document.write( "there are \"720-120=600\" ways to line up the 6 people keeping apart the 2 people who refuse to be next to each other.
\n" ); document.write( "
\n" );