AMC 10 Step by Step

2026 AMC 10A Problem 20

P16-20~6 minPrint

Boxes with dimensions 77×78×8577 \times 78 \times 85 or 2×3×850852 \times 3 \times 85085 have volume 510,510510,510 . How many different boxes with integer side lengths at least 22 , including these two, have volume 510,510510,510 ? Boxes are considered different if they have different dimensions.

Log in to save your progress.
Show solution without answering

Key insight

510,510 is the product of the seven primes 2 through 17, each used once. A box is just a way to split these seven primes into three non-empty groups.

Solution

Side lengths that multiply to a number are built out of its prime factors, so factor first.

1. Factor the volume. Divide by small primes one at a time:
510510=2⋅255255=2⋅3⋅85085=2⋅3⋅5⋅17017=2⋅3⋅5⋅7⋅2431=2⋅3⋅5⋅7⋅11⋅221,510510 = 2 \cdot 255255 = 2 \cdot 3 \cdot 85085 = 2 \cdot 3 \cdot 5 \cdot 17017 = 2 \cdot 3 \cdot 5 \cdot 7 \cdot 2431 = 2 \cdot 3 \cdot 5 \cdot 7 \cdot 11 \cdot 221,
and 221=13⋅17221 = 13 \cdot 17. So
510510=2⋅3⋅5⋅7⋅11⋅13⋅17,510510 = 2 \cdot 3 \cdot 5 \cdot 7 \cdot 11 \cdot 13 \cdot 17,
seven different primes, each used exactly once.

  1. Check with the two given boxes. 77=7⋅1177 = 7 \cdot 11, 78=2⋅3⋅1378 = 2 \cdot 3 \cdot 13 and 85=5⋅1785 = 5 \cdot 17: each prime lands in exactly one side. Likewise 22, 33 and 85085=5⋅7⋅11⋅13⋅1785085 = 5 \cdot 7 \cdot 11 \cdot 13 \cdot 17.

3. A box is a way to split the primes into three groups. Each side is the product of the primes in its group, and each prime goes into exactly one side.
- "Side at least 22" means no group is empty (an empty group would give a side of 11).
- Different splits give different boxes: because each prime appears only once, you can read off which primes a side contains just by factoring it.

So we must count the ways to split 77 different primes into 33 non-empty groups, where the groups have no order.

4. First pretend the sides have names. Call them length, width and height. Each of the 77 primes chooses one of the 33 names, so there are
37=21873^7 = 2187
ways. Some of these leave a side with no primes; remove those next.

5. Remove the ones with an empty side (inclusion–exclusion).
- Ways where the length gets no prime: each prime chooses between the other 22 names, 27=1282^7 = 128 ways. The same is true for width and for height, so subtract 3⋅128=3843 \cdot 128 = 384.
- A way with two empty sides (all seven primes on one side) was subtracted twice, once for each of its empty sides. There are 33 such ways (all on the length, all on the width, all on the height), so add 33 back.
- No way has all three sides empty.

With named sides, the count is
2187−384+3=1806.2187 - 384 + 3 = 1806.

6. Now remove the names. A box does not care which side is called length. Its three sides are always three different numbers (different groups of primes have different products), so each box was counted once for each order of its sides, 3!=63! = 6 times:
18066=301.\frac{1806}{6} = 301.

  1. Test the method on a small case. With four primes, 2⋅3⋅5⋅7=2102 \cdot 3 \cdot 5 \cdot 7 = 210, one side must be a product of two primes and the others single primes, so there are (42)=6\binom{4}{2} = 6 boxes. The method gives 34−3⋅24+36=81−48+36=6\frac{3^4 - 3 \cdot 2^4 + 3}{6} = \frac{81 - 48 + 3}{6} = 6. It agrees.

The answer is (C) 301\boxed{\textbf{(C)}\ 301}.

Why this works

When a number is a product of different primes, each factor is decided completely by which primes it takes, so a factoring question turns into "put different objects into groups". The standard plan is: count with named groups, use inclusion–exclusion to rule out empty groups, then divide by the number of orders. Dividing by 66 is safe here only because no two sides can be equal; if a prime were repeated, two sides could match and those boxes would need separate care. (Aside: the number of ways to split 77 different objects into 33 non-empty unnamed groups is called a Stirling number of the second kind, and it equals 301301.)

Alternative approach

Count by the sizes of the three groups. The sizes add to 77 and each is at least 11, so they are 5+1+15{+}1{+}1, 4+2+14{+}2{+}1, 3+3+13{+}3{+}1 or 3+2+23{+}2{+}2.

group sizeshow to chooseboxes
5,1,15, 1, 1choose the 55 primes: (75)=21\binom{7}{5} = 21; the last two are single sides2121
4,2,14, 2, 1choose the 44, then the 22 from the remaining 33: 35⋅335 \cdot 3105105
3,3,13, 3, 1choose the single prime: 77; split the other 66 into two groups of 33: (63)÷2=10\binom{6}{3} \div 2 = 107070
3,2,23, 2, 2choose the 33: (73)=35\binom{7}{3} = 35; split the other 44 into two pairs: 33105105

The total is 21+105+70+105=30121 + 105 + 70 + 105 = 301. When two groups have the same size, divide by 22, because swapping those two groups gives the same box.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

510510=2⋅3⋅5⋅7⋅11⋅13⋅17510510 = 2 \cdot 3 \cdot 5 \cdot 7 \cdot 11 \cdot 13 \cdot 17, a product of seven distinct primes. A box with all sides at least 22 corresponds exactly to a split of these seven primes into three non-empty unordered groups, each side being the product of its group.

With the sides labelled, the number of assignments of the primes to the three sides with no side empty is, by inclusion–exclusion,
37−3⋅27+3⋅17=2187−384+3=1806.3^7 - 3 \cdot 2^7 + 3 \cdot 1^7 = 2187 - 384 + 3 = 1806.
The three sides are always distinct, so each box is counted 3!=63! = 6 times, giving 1806/6=3011806 / 6 = 301 boxes.

The answer is (C) 301\boxed{\textbf{(C)}\ 301}.

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.