2024 AMC 8 · Question 13
Problem outline
Count six-step walks that begin and end at height , move by or at each step, and never visit a negative height.
Show answer and methods 2 methods
Answer
B. sequences.
Method 1 Split at the first return
The first return to height zero can occur on step , , or . A nonnegative four-step walk that returns to zero is either or , where means up and means down.
A first return at step starts with and leaves two possible four-step walks. A first return at step must start with and finish with , giving one possibility.
For a first return at step , remove the opening and closing . The middle four steps form a return walk above the old floor, with their new floor at height one. There are two possibilities. Thus .
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 candidates.
For an invalid walk, interchange up and down through its first visit to . 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 ; reflecting through its first such visit reverses the construction. Hence exactly candidates go below zero, leaving .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)