2001 AMC 10 Problem 19
Pat wants to buy four donuts from an ample supply of three types of donuts: glazed, chocolate, and powdered. How many different selections are possible?
Show solution without answering
Key insight
Only how many of each type Pat picks matters, not the order. List the ways to split 4 donuts among 3 types, or picture 4 dots split by 2 dividers.
Solution
1. A "selection" is just how many of each type Pat buys. Picking glazed then chocolate is the same as chocolate then glazed. So we count the ways to split donuts into glazed, chocolate and powdered amounts, where an amount can be .
2. Organize by the shape of the split, ignoring which type gets which amount:
- : all four are one type. The type can be any of , so ways.
- : choose the type that gets ( choices), then the type that gets ( choices left). That is ways.
- : choose the type that gets none ( choices). That is ways.
- : choose the type that gets ( choices). That is ways.
3. These are all the ways to write as a sum of three amounts, so the total is
The answer is .
Why this works
"Ample supply" means you can take as many of one type as you like, and "selections" means order does not matter. So the question is really how many ways three amounts can add to . Sorting by the shape of the split (like ) keeps the list complete without repeats.
Alternative approach
Draw the donuts as dots and add dividers to separate the types: glazed before the first divider, chocolate between them, powdered after the second. For example, is glazed, chocolate, powdered, and is powdered. Every selection is one row of symbols ( dots and dividers), and every such row is one selection. Choosing which of the spots hold dividers gives rows.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Only the counts matter: a selection is a triple of nonnegative integers with .
Encode each triple as a row of identical stars split into three groups by bars; for example means two glazed, one chocolate, one powdered, and means four powdered. Every arrangement of stars and bars corresponds to exactly one selection, and there are
such arrangements (choose which of the slots are bars).
The answer is .
Review in the AoPS books
- Intermediate Counting & Probability, Chapter 7: Distributions (§7.2, §7.3)
- Intermediate Counting & Probability, Chapter 4: Constructive Counting and 1-1 Correspondences (§4.4, §4.5, §4.6)
- Introduction to Counting & Probability, Chapter 5: More With Combinations (§5.4)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.