document.write( "Question 159546: there are five students, they are A, B, C, D, and E. They are want to sit down on the chair. how many ways the five students can sit if A must beside B? \n" ); document.write( "
Algebra.Com's Answer #117659 by atique.ah(27)\"\" \"About 
You can put this solution on YOUR website!
There are 5 ways A can sit.
\n" ); document.write( "There is only 1 way that B can sit.
\n" ); document.write( "There are 3ways C can sit.
\n" ); document.write( "There are 2 ways that D can sit.
\n" ); document.write( "And last there is only 1 way left for E.\r
\n" ); document.write( "\n" ); document.write( "The total numbers of ways A B C D E can sit =5*1*3*2*1=30 ways.
\n" ); document.write( "
\n" );