document.write( "Question 923763: (1)Write the steps to get the next permutation of 3, 5, 6, 1, 4, 2 .\r
\n" ); document.write( "\n" ); document.write( "(2).How many permutations of the digits 01234567 contain the 2 consecutive digits
\n" ); document.write( "07?
\n" ); document.write( "(3).There are 5 red balls, 5 blue balls and 5 yellow balls in a box. How many balls must
\n" ); document.write( "be get out of the box to assure that there are at least 3 different color balls?
\n" ); document.write( "

Algebra.Com's Answer #560308 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
(1) This question makes no sense.
\n" ); document.write( "(2) Treat 07 as a single digit. Now we have seven digits (123456 and 07) to arrange, and 2! = 2 ways to permute {0,7}. Ans = 2*7!.
\n" ); document.write( "(3) Worst case is if we pick 5 red balls then 5 blue balls (or 10 balls of only two colors). The next ball is guaranteed to be of the third color, so 11 balls are needed.
\n" ); document.write( "
\n" );