Learn from a vibrant community of students and enthusiasts,
including olympiad champions, researchers, and professionals.

Movie Tickets

In a movie theater, tickets cost \($5\). 10 people are standing in line to buy a ticket, which, five of them have a \($5\) bill, four have a \($10\) bill and one has a \($20\) bill. Considering that in the box office there is no money in the cashier initially, how many ordered sets can be formed with these 10 people in a way that there is always change for each person who buys a ticket in the box office?

Consider there is \(10\binom{9}{4}\) ways to arrange them without restriction, in other words, if two people have the same bill, then they're equal.

Excel in math and science

Master concepts by solving fun, challenging problems.

It's hard to learn from lectures and videos

Learn more effectively through short, conceptual quizzes.

Our wiki is made for math and science

Master advanced concepts through explanations,
examples, and problems from the community.

Used and loved by 4 million people

Learn from a vibrant community of students and enthusiasts,
including olympiad champions, researchers, and professionals.