2019 AMC 8 Problems/Problem 25
Alice has apples. In how many ways can she share them with Becky and Chris so that each of the three people has at least two apples?
We use stars and bars. Let Alice get apples, let Becky get apples, let Chris get apples. We can manipulate this into an equation which can be solved using stars and bars.
All of them get at least apples, so we can subtract from , from , and from . Let , let , let . We can allow either of them to equal to , hence this can be solved by stars and bars.
By Stars and Bars, our answer is just .
First assume that Alice has apples. There are ways to split the rest of the apples with Becky and Chris. If Alice has apples, there are ways to split the rest of the apples with Becky and Chris. If Alice has apples, there are ways to split the rest. So the total number of ways to split apples between the three friends is equal to
Let's assume that the three of them have apples. Since each of them has to have at least apples, we say that and . Thus, , and so by stars and bars, the number of solutions for this is - aops5234
Since we have to give each of the friends at least apples, we need to spend a total of apples to solve the restriction. Now we have apples left to be divided among Alice, Becky, and Chris, without any constraints. We use the Ball-and-urn technique, or sometimes known as ([Sticks and Stones]/[Stars and Bars]), to divide the apples. We now have stones and sticks, which have a total of ways to arrange.
Equivalently, we split apples among friends with each having at least apples. We put sticks between apples to split apples into three stacks. So there are 20 spaces to put sticks. We have different ways to arrange the two sticks. So, there are ways to split the apples among them.
https://www.youtube.com/watch?v=EJzSOPXULBc - Happytwin
|2019 AMC 8 (Problems • Answer Key • Resources)|
|1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25|
|All AJHSME/AMC 8 Problems and Solutions|