AMC 10 Step by Step

2019 AMC 10A Problem 17

P16-20~4 minPrint

A child builds towers using identically shaped cubes of different colors. How many different towers with a height 88 cubes can the child build with 22 red cubes, 33 blue cubes, and 44 green cubes? (One cube will be left out.)

Log in to save your progress.
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.

  1. Take any tower of 88 cubes. Exactly one cube is left over, and you know its color. Put it on top: you get a stack of all 99 cubes.
  2. Going the other way, take any stack of all 99 cubes and remove the top cube: you get a tower of 88.
  3. These two moves undo each other, so each 88-tower matches exactly one 99-stack. The two counts are equal.

Step 2: count the 99-cube stacks.

4. If all 99 cubes looked different, there would be 9!9! orders.
5. But the 22 reds look alike. Swapping them gives the same stack, so divide by 2!2!. In the same way, divide by 3!3! for the blues and 4!4! for the greens.
9!2! 3! 4!=3628802⋅6⋅24=362880288=1260.\frac{9!}{2!\,3!\,4!} = \frac{362880}{2 \cdot 6 \cdot 24} = \frac{362880}{288} = 1260.

The answer is (D) 1,260\boxed{\textbf{(D)}\ 1{,}260}.

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 88 into stacks of 99 one-for-one.

Alternative approach

Split into cases by which color is left out.

  • Leave out a red: 11 red, 33 blue, 44 green, so 8!1! 3! 4!=280\frac{8!}{1!\,3!\,4!} = 280 towers.
  • Leave out a blue: 22 red, 22 blue, 44 green, so 8!2! 2! 4!=420\frac{8!}{2!\,2!\,4!} = 420 towers.
  • Leave out a green: 22 red, 33 blue, 33 green, so 8!2! 3! 3!=560\frac{8!}{2!\,3!\,3!} = 560 towers.

Total: 280+420+560=1260280 + 420 + 560 = 1260.

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 99 cubes, then removing the top one. The tower of 88 that remains is exactly the kind of tower being counted, and conversely every 88-tower comes from exactly one 99-stack (put the leftover cube on top). So the number of 88-towers equals the number of 99-stacks.

Stacks of 99 cubes with 22 red, 33 blue and 44 green identical cubes number
9!2! 3! 4!=3628802⋅6⋅24=362880288=1260.\frac{9!}{2!\,3!\,4!} = \frac{362880}{2 \cdot 6 \cdot 24} = \frac{362880}{288} = 1260.

The answer is (D) 1,260\boxed{\textbf{(D)}\ 1{,}260}.

Review in the AoPS books

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.