In how many ways can nine 3s and six 5s be placed in a row so that no two 5s are side by side?
Please, help me to solve it.
Thanks!
Place the fives in a row and place 5 threes between them; this is required by the problem. The rest of the threes can be arbitrarily distributed either between some digits or at either end. The number of such distributions is found using the stars and bars theorem.
Hello, Romanka!
In how many ways can nine 3's and six 5's be placed in a row
so that no two 5's are side by side?
Place the nine 3's in a row with a space before, after and between them.
. .
There are 10 spaces.
Select 6 of them and insert the 5's.
There are: . ways.