Suppose that you are ticket collector in Cinema office. It cost 50 dollars to watch a movie. There are 20 people in line. 10 people in that line have exactly 100 dollar bills and 10 people have exactly 50 dollar bill. Now, since it is early in morning,you do not have any change. So,the people should be arranged in such a way that the line goes on without any interruption. What are total number of ways to arrange people in such a way that line proceeds smoothly?
One valid combination:
50,100,50,100,50,100,50,100,50,100,50,100,50,100,50,100,50,100,50,100
An invalid one:
100,50,....,50
My take: I tried to do this problem for small number like 3,4,5. However,I see no pattern to generalize the result to more people.