Paths & Grids
Lattice paths, grid walks, board colorings and configurations
Paths & GridsAMC 10 Step by Step
Name: Date: October 28, 2026
Counting & Probability · 12 problems have this as their main idea
12
primary-topic problems (0.9% of all)
9
more as a secondary topic
Where it appears
3
P1-10
2
P11-15
4
P16-20
3
P21-25
What you need to know
- Grid paths. A path from to by unit steps right (R) or up (U) has steps: R's and U's. Choosing which steps are R's decides the path: paths. Example: from to there are paths.
- Through a point, or avoiding it. Paths through a point : (paths to ) (paths from to the end). Paths avoiding : all paths minus those through . Example: to through : paths, so avoid .
- Labeling the corners. When some streets are blocked or one-way, write at each corner the number of ways to reach it: the sum of the numbers at the corners you can arrive from.
- Diagonal steps change the count. If a diagonal step D (right and up at once) is also allowed, do casework on the number of D's. Example: to with steps R, U, D: no D's gives paths, one D gives (orders of R, U, D), two D's give , so in all.
- Rectangles and squares. A grid of by unit squares has rectangles (choose of the vertical lines and of the horizontal ones). It has squares (, then , and so on), stopping when a factor reaches . Example: a grid has rectangles and squares.
How AMC 10 tests it
- Problems 8–15: a direct count, often with a point the path must pass through or avoid.
- Problems 12–20: paths on an irregular grid (missing streets, one-way streets), meant for labeling the corners.
- Counting squares or rectangles in a figure, or colorings of a or board with rules about neighboring cells.
- Problems 18–24: paths with an extra rule (exactly changes of direction, never crossing the diagonal), where the trick is choosing where the turns happen.
- Random walks: multiply a path count by or , the chance of one particular -step path when each step has or equally likely choices.
Standard approaches
- With only right and up steps, use . Multiply for a point the path must pass through; subtract for a point it must avoid.
- Otherwise label the corners in order (the Pascal's Triangle method); it always works on small grids.
- For "exactly turns," count how the R's and U's split into runs. Example: to with exactly turns has runs (like RR U R UU): ways to split the R's into runs, for the U's, and choices of first step, so paths.
- For colorings and tilings, fix the first row or the most limited cell, then count the ways to finish.
- With nothing blocked, the corner labels should match ; use this as a check.
Worked example
A path goes from to using unit steps right or up. How many such paths pass through neither nor ?
(A) (B) (C) (D) (E)
Solution. Use complementary counting and PIE.
Step 1: all paths. There are R's and U's: paths.
Step 2: through . ways to get there, then R's and U's to finish: . So .
Step 3: through . ways to get there, then R's and U: . So .
Step 4: through both. ways to , then to , then to the end: .
Step 5: combine. Through at least one point: . Through neither: .
The answer is .
Pitfalls
- Using the wrong top number in . The number of steps is , not or .
- Treating "avoids and " as all paths minus those through minus those through , without adding back those through both. Above, that gives instead of .
- Mixing up points and squares when a grid is called "." A grid of squares has points; corner to corner is paths, not .
- In corner labeling, adding a neighbor's number across a street that is actually blocked.
Traps that recur
- Forgetting the two loops that never enter the middle row (the full top-row and full bottom-row rectangles), which gives 144, choice (B). (2024 AMC 10A #25)
- Ignoring the three leftward arrows and counting only monotone paths (1024), or forgetting that the bug may switch between the upper and lower halves at a center vertex. (2012 AMC 10B #25)
- Treating the edge-middle squares as independent choices, or forgetting the two cases (two opposite pairs equal vs. one pair equal) in the cycle count. (2023 AMC 10A #20)
- Forgetting that empty cells with exactly three filled neighbors turn on, including the border midpoints when a full side of the 3×3 is filled. (2022 AMC 10B #19)
Problems, easiest first
Open any of them to try it here; the worked solution is on the problem's own page.