2004 AMC 10B Problem 4
A standard six-sided die is rolled, and is the product of the five numbers that are visible. What is the largest number that is certain to divide ?
Show solution without answering
Key insight
Only the bottom face is hidden, so P is 720 divided by that face. Check every possible hidden face and see which factors always survive.
Solution
- All six faces multiply to . The five visible faces are all of them except the one on the bottom, so is divided by the bottom number.
- Make a table of all six cases, and write each product in prime factors so you can compare them:
| Bottom face | Prime factors | |
|---|---|---|
3. "Certain to divide" means it must divide every row, so for each prime take the smallest power that appears in the column.
- The prime : the fewest s is (when the is on the bottom).
- The prime : the fewest s is (when the or the is on the bottom).
- The prime : when the is on the bottom there is no at all.
4. So the largest number that always divides is .
The answer is .
Why this works
"Certain to divide" is a worst-case question. For each prime, find the roll that leaves the fewest copies of it, and keep only that many. Writing each case in prime factors makes the comparison easy; this is exactly how you find the greatest common divisor of several numbers.
Alternative approach
Think about which even and which multiple-of-3 faces can be hidden. There are three even faces (); at least two are always visible, and the worst pair is and , which give only (hide the ). There are two multiples of ( and ); at least one is always visible, but hiding one of them can leave just one factor of . The can be hidden. So the guaranteed divisor is .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The six faces multiply to . If the hidden bottom face shows , then the visible product is . As runs through , the possible values of are
A number is certain to divide exactly when it divides all six of these, so we want their greatest common divisor. Dividing by each of and taking the gcd is the same as dividing by the least common multiple of :
Concretely: hiding kills the factor ; hiding leaves only among the powers of (from and ); hiding or leaves a single factor of . What survives every case is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Number Theory, Chapter 3: Multiples and Divisors (§3.3, §3.4, §3.7)
- Introduction to Number Theory, Chapter 5: Divisor Problems (§5.2, §5.3)
- Introduction to Number Theory, Chapter 4: Prime Factorization (§4.7)
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.