DR.WANG Mathematics中文

2024 AMC 8 · Question 13

Counting & combinatorics · Catalan Number · systematic listing · problem-solving

Problem outline

Count six-step walks that begin and end at height 00, move by +1+1 or −1-1 at each step, and never visit a negative height.

Show answer and methods 2 methods

Answer

B. 55 sequences.

Method 1 Split at the first return

The first return to height zero can occur on step 22, 44, or 66. A nonnegative four-step walk that returns to zero is either UUDDUUDD or UDUDUDUD, where UU means up and DD means down.

A first return at step 22 starts with UDUD and leaves two possible four-step walks. A first return at step 44 must start with UUDDUUDD and finish with UDUD, giving one possibility.

For a first return at step 66, remove the opening UU and closing DD. The middle four steps form a return walk above the old floor, with their new floor at height one. There are two possibilities. Thus 2+1+2=52+1+2=5.

Method 2 Reflect the walks that go below zero

Without the floor, any choice of three of the six steps for the upward moves returns to zero, so there are (63)=20\binom{6}{3}=20 candidates.

For an invalid walk, interchange up and down through its first visit to −1-1. That prefix used to have one more down than up; it now has one more up than down. The transformed six-step walk therefore has four ups and two downs.

Every walk with four ups and two downs visits +1+1; reflecting through its first such visit reverses the construction. Hence exactly (62)=15\binom{6}{2}=15 candidates go below zero, leaving 20−15=520-15=5.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)