2024 AMC 10 A Problem 24
One Page to Learn. One Point to Earn.
In This Page:
To help you master 2024 AMC 10 A Problem 24, this page includes:
- The original AMC problem to try, plus the correct answer
- Clear, step-by-step solutions using different methods
- Key ideas, useful formulas, and takeaways you can apply to similar problems
- Related problems from past AMC exams, plus new practice problems that build the same skills
Want more practice? Scroll down to download Think Academy’s AMC 10 practice packs and keep building your AMC 10 A skills.
2024 AMC10 A Problem 24
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?
Solution
Inclusion-Exclusion Method
Count the number of valid paths inside one specific unit cube, multiply by the 8 possible unit cubes around the origin, and then subtract the paths that lie on the boundaries between cubes because they are counted more than once.
In a bipartite graph (like a 3D grid), there are no odd-length cycles. Therefore, to walk on the same edge twice without making an immediate U-turn, a path must complete a cycle of at least 4 steps and then take a 5th step. Thus, any 4-step path with no U-turns has exactly 4 distinct edges.
Step 1: Determine the total number of possible paths
The bee makes 4 moves. Each move is determined by rolling a 6-sided die, corresponding to the positive and negative directions of the 3 axes. Since each roll is independent, we multiply the number of choices.
Step 2: Identify the conditions for a valid path inside one unit cube
A unit cube has 8 vertices. If the bee stays inside one specific unit cube (for example, the cube with coordinates 0 and 1), every vertex it visits has exactly 3 available edges within that cube. To traverse 4 distinct edges, the bee must not make any immediate U-turns. Because the grid is a bipartite graph, a 4-step path without U-turns cannot loop back to reuse an edge. Therefore, avoiding U-turns is both necessary and sufficient.
Step 3: Count valid paths within a single unit cube
Starting at the origin, the bee has 3 available edges in the chosen unit cube. For the second move, it has 3 available edges from the new vertex, but 1 of them goes back where it came from. To avoid a U-turn, it has 2 choices. The same logic applies to the third and fourth moves.
Step 4: Calculate the total across all 8 unit cubes
The origin is surrounded by 8 unit cubes (one for each octant, corresponding to the choices of positive or negative signs for the x, y, and z axes). If we simply multiply the paths per cube by 8, we will overcount paths that lie on the boundaries shared by multiple cubes.
Step 5: Subtract the overcounted paths using Inclusion-Exclusion
A path belongs to multiple unit cubes only if it lies entirely on the boundary between them. The boundaries are 2D faces (unit squares). A valid 4-step path on a unit square must traverse all 4 of its edges, meaning it must form a square cycle. There are 2 such paths per face (clockwise and counterclockwise). How many faces meet at the origin? There are 3 coordinate planes (xy, yz, zx). In each plane, there are 4 faces meeting at the origin (one for each quadrant). So there are 12 shared faces total. Each of these 12 faces is shared by exactly 2 unit cubes. No valid path can belong to 3 cubes, because the intersection of 3 cubes is a single edge, which cannot hold a 4-step path.
Step 6: Calculate the final probability
We subtract the overcounted paths from the uncorrected total to find the exact number of distinct valid paths. Finally, we divide by the total number of paths to find the probability.
The exact probability is 7/54, which matches answer choice B. A quick check of the order of magnitude: 168 valid paths out of 1296 is slightly more than 10%, making 7/54 a very reasonable answer.
Dimensional Classification Method
Instead of using subtraction, we can partition the valid paths into two distinct groups: paths that move in all 3 dimensions (which uniquely identify one unit cube) and paths that stay in a 2D plane.
A path that visits non-zero coordinates in all 3 dimensions must belong to exactly one unit cube, because the signs of those coordinates lock it into a single octant.
Step 1: Analyze the 24 paths inside a single unit cube
As established, there are 24 valid paths inside a single unit cube. We can divide them into two categories based on how many dimensions they explore. There are 3 faces connected to the origin. A path staying on one of these faces must be a square cycle (2 paths per face). Thus, 6 paths stay entirely in 2D. The remaining paths must venture into all 3 dimensions.
Step 2: Count the total number of 3D paths
A 3D path inside the first octant visits +1 in the x, y, and z directions. Because it extends into all three dimensions, it cannot fit inside any other unit cube. Therefore, we can safely multiply the 18 paths by the 8 possible unit cubes without any risk of overcounting.
Step 3: Count the total number of 2D paths
A 2D path never leaves its coordinate plane. There are 3 coordinate planes (xy, yz, zx). Within each plane, there are 4 quadrants, and each quadrant forms a 1×1 square face connected to the origin. Each face has exactly 2 valid paths (the clockwise and counterclockwise cycles). We can count these directly without worrying about unit cubes.
Step 4: Combine the cases to find the probability
Since a path cannot be both 2D and 3D, these categories are mutually exclusive. We add them together to get the total number of valid paths, and then divide by the 1296 possible random walks.
The total of 168 distinct valid paths matches our Inclusion-Exclusion result perfectly, leading to the same probability of 7/54 (Choice B).
Similar Problems in Real Exams
The following five AMC 10 A problems are closely related to AMC 10 A 2024 Question 24. These real AMC 10 A problems test the same key concept—Probability. Click any problem to learn and practice, then continue to the adapted practice section later in this article for more problems to try.
2023 AMC 10 A Problem 7
2021 AMC 10 A Problem 23
2020 AMC 10 A Problem 13
2025 AMC 10 A Problem 14
2025 AMC 10 A Problem 16
Adapted Problems to Practice
What Formulas Do You Need for This Problem?
- Bipartite Graph Property (No Odd Cycles):
A graph is bipartite if its vertices can be colored in two colors such that every edge connects different colors. Bipartite graphs cannot contain cycles of odd length.
Applies to any grid graph (like the 2D plane or 3D space), since each step alternates the sum of the coordinates between even and odd. Because the shortest cycle in a grid is a square (length 4), a bee cannot reuse an edge in 4 steps unless it makes an immediate U-turn (length 2). Therefore, forbidding U-turns guarantees all 4 edges are distinct.
- Principle of Inclusion-Exclusion (PIE):
Used when combining totals from overlapping sets. Paths that lie on the 2D faces between adjacent unit cubes are counted multiple times if we simply multiply the paths per cube by 8. We must subtract these shared boundary paths to find the true total.
Key Takeaway: Remember This Strategy for Next Time
When a problem requires traversing 'distinct edges' on a grid over a short number of steps.
Try: Check if avoiding immediate U-turns is enough. Because grids are bipartite, avoiding U-turns over 4 steps automatically guarantees no edge is repeated.
Why: The shortest loop in a grid requires 4 steps. A repeated edge without a U-turn would require traveling in a triangle (3 steps), which is impossible on a grid.
When multiple symmetric regions (like the 8 octants) overlap at boundaries.
Try: Count the configurations inside one specific region, multiply by the number of regions, and then use Inclusion-Exclusion to subtract the configurations that lie strictly on the shared boundaries.
Why: Symmetry ensures all regions have the same internal count. Subtracting the boundaries corrects the overcounting generated by multiplying.
When Inclusion-Exclusion seems tricky due to complex overlaps.
Try: Try classifying the objects by their 'bounding box' or the number of dimensions they use. Separate them into 'internal' objects (which belong to only one region) and 'boundary' objects.
Why: Objects that span all dimensions of a region uniquely identify that region, allowing you to multiply them without fear of overcounting. The boundary objects can then be counted directly.
Unlock More Targeted AMC 10 Practice Resource
Build Stronger Skills. Practice with Purpose. Prepare with Confidence.
Get a complete set of module-focused AMC 10 practice workbooks designed to help students strengthen core concepts, improve problem-solving strategies, and feel more confident on test day.
With 250+ practice problems organized across six essential AMC 10 modules, students can focus on one skill area at a time and learn from clear, step-by-step solutions.

Download the Free AMC 10 Practice Resource Pack
Inside, You’ll Find:
- 6 module-focused practice workbooks: Algebra, Geometry, Number Theory, Combinatorics, and Probability & Statistics.
- 250+ AMC 10-style practice problems covering essential concepts and common competition question types.
- Complete answer keys and step-by-step solutions to help students understand the reasoning behind each answer.
- Organized, print-ready materials for independent study, guided practice, or extra preparation at home.
Get Instant Access: Fill out the form below to receive our exclusive resource pack.
*Please enter a valid email address to access the materials and receive future prep updates.
About Think Academy
Think Academy US Online, part of TAL Education Group (NYSE: TAL), provides structured math and ELA programs that help students build strong academic foundations and grow with confidence. With expert teachers, proven methods, and innovative AI tools, we nurture learning ability, curiosity, and healthy study habits that support long-term growth and a lifelong love of learning.
Check our programs:
- Think Kids: Ages 3-5
- Math
- Lower Elementary Math — Grades 1–2
- Upper Elementary Math — Grades 3–5
- Middle School Math — Grade 6–8
- High School Math — Grade 9-12
- ELA
- Elementary ELA — Grades 2–5
Want more insights on Math & ELA learning and parenting? Fill out the form on this page and subscribe to our newsletter for weekly tips and the latest resources. Join 100,000+ families in our Parent Community!














