2019 AMC 10A Problem 17
A child builds towers using identically shaped cubes of different colors. How many different towers with a height cubes can the child build with red cubes, blue cubes, and green cubes? (One cube will be left out.)
Show solution without answering
Key insight
Stack all 9 cubes and then take off the top one. Every 8-cube tower comes from exactly one 9-cube stack, so just count 9-cube stacks.
Solution
Step 1: a trick to handle the left-out cube.
- Take any tower of cubes. Exactly one cube is left over, and you know its color. Put it on top: you get a stack of all cubes.
- Going the other way, take any stack of all cubes and remove the top cube: you get a tower of .
- These two moves undo each other, so each -tower matches exactly one -stack. The two counts are equal.
Step 2: count the -cube stacks.
4. If all cubes looked different, there would be orders.
5. But the reds look alike. Swapping them gives the same stack, so divide by . In the same way, divide by for the blues and for the greens.
The answer is .
Why this works
When some objects are identical, count all orders as if they were different, then divide by the number of ways to shuffle each group of look-alikes. The "one cube left out" twist disappears once you notice the leftover cube can always be placed on top, which turns towers of into stacks of one-for-one.
Alternative approach
Split into cases by which color is left out.
- Leave out a red: red, blue, green, so towers.
- Leave out a blue: red, blue, green, so towers.
- Leave out a green: red, blue, green, so towers.
Total: .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Imagine stacking all cubes, then removing the top one. The tower of that remains is exactly the kind of tower being counted, and conversely every -tower comes from exactly one -stack (put the leftover cube on top). So the number of -towers equals the number of -stacks.
Stacks of cubes with red, blue and green identical cubes number
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.5)
- Intermediate Counting & Probability, Chapter 4: Constructive Counting and 1-1 Correspondences (§4.4, §4.5, §4.6)
- Introduction to Counting & Probability, Chapter 3: Correcting for Overcounting (§3.2, §3.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.