Approaches to Counting Paths

Idea · Intermediate

Combinatorics

Idea 1. Placing Numbers

1) Origin = 1.

2) Number at each position = the sum of the numbers at exactly the previous positions.

At each step, we can jump 1 or 2 units to the right or one unit upward.

# ways from \(A\) to \(B\)

Counting paths by placing numbers at each position

Idea 2. Permutation

At each step, we can jump 1 unit to the right or one unit upward.

# ways from \(A\) to \(B\)

Counting paths using permutations of right and upward moves

Each path corresponds to a permutation of \(5\) \(R\)'s and \(3\) \(U\)'s.

RRRRRUUURRRRRUUU
8!5!3!=8763!=56\frac{8!}{5!3!}=\frac{8\cdot7\cdot6}{3!}=56

Idea 3. Levels

At each step, we can jump 1 unit to the right, one unit upward, or 1 unit to the left.

We can't pass through a point more than once.

# ways from \(A\) to \(B\)

Counting paths by choosing transitions between levels

There are 4 levels (horizontal lines). If we only determine the places where we go to the next level, then the path will be determined.

6Level 1 to 2×6Level 2 to 3×6Level 3 to 4=63=216 \underbrace{6}_{\text{Level 1 to 2}} \times \underbrace{6}_{\text{Level 2 to 3}} \times \underbrace{6}_{\text{Level 3 to 4}} =6^3=216