2024 AMC 10A Problem 24
A bee is moving in three-dimensional space. A fair six-sided die with faces labeled and is rolled. Suppose the bee occupies the point If the die shows , then the bee moves to the point and if the die shows then the bee moves to the point Analogous moves are made with the other four outcomes. Suppose the bee starts at the point and the die is rolled four times. What is the probability that the bee traverses four distinct edges of some unit cube?
Show solution without answering
Key insight
Each roll must use a new direction, and a direction used before must be reversed. Counting roll by roll gives 6 · 4 · 7 = 168.
Solution
There are equally likely ways to roll the die four times. Count the good ones roll by roll.
Call the three directions the , and directions. A path stays on one unit cube as long as, in each direction, the bee only moves between two neighbouring values. So if the bee moves again in a direction it already used, it must go the opposite way (after , only is allowed, and the reverse).
1. Roll 1: anything. choices. Say it is (the other cases are the same by symmetry).
2. Roll 2: it cannot be (that leaves the cube) or (that goes back over the same edge). So it must be a new direction: or . choices. Say it is .
3. Roll 3: it cannot use the direction (same reasons as roll 2). Two kinds of choice remain:
- Case 1: go back the other way in direction (). choice. The bee has now walked three sides of a square.
- Case 2: a new direction ( or ). choices.
4. Roll 4.
- In Case 1 (moves ): not (just used). closes the square, which is fine: choice. Or a move, either way: choices. Total choices.
- In Case 2 (moves ): not (just used). or are allowed; or would leave the cube. Total choices.
5. Count. After the first two rolls, the last two rolls can go ways. So the number of good sequences is
6. Probability: (divide top and bottom by ).
In every good case the four edges are different, because the bee never goes straight back along the edge it just used, and in four moves that is the only way to repeat an edge.
The answer is .
Why this works
The words "four distinct edges of some unit cube" turn into two simple rules for the rolls: never use the same direction twice in a row, and when you return to a direction, go the other way. With rules like that, counting one roll at a time and splitting into cases only where the choices differ is quick and safe.
Alternative approach
Count by the pattern of directions. The directions used by the four rolls, with no direction twice in a row, can be chosen in ways. In each direction, the first move can be or , and every later move in that direction is forced to be the opposite of the one before.
- Patterns that use only directions must alternate, like . There are of them, each with sign choices: sequences.
- The other patterns use all directions, each with sign choices: sequences.
That is good sequences again, and .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
There are equally likely roll sequences. Translate the condition.
Staying on one cube. The four edges lie on a common unit cube exactly when the path stays inside a box, i.e. each coordinate only ever takes two adjacent values. For a given axis this means its steps alternate in sign: after a step the next step on that axis must be , and vice versa.
Distinct edges. Two consecutive steps on the same axis would have to be opposite (to stay in the box), which retraces the same edge, so consecutive steps must use different axes. With only four steps, any other repeated edge would also force such an immediate backtrack, so this is the only extra restriction.
So a sequence is good iff (i) consecutive steps are on different axes, and (ii) the steps on each axis alternate in sign.
Count. Axis patterns of length with no two consecutive equal: . For a given pattern, the first step on each axis has a free sign and every later step on that axis is forced, so there are sign choices where is the number of distinct axes used.
- Patterns using only axes must alternate, : choose the two axes and which goes first, patterns, each with sign choices: sequences.
- The remaining patterns use all axes: sign choices each: sequences.
Total , and .
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 7: Introduction to Probability
- Introduction to Counting & Probability, Chapter 5: More With Combinations (§5.2)
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
- Introduction to Counting & Probability, Chapter 8: Basic Probability Techniques
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.