File size: 1,042 Bytes
de0a028
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
Solve the following math problem.

Solve with your own reasoning and available tools. Do not look anything up online or call other models or services.

Write ONLY your final answer to `/app/answer.txt` (create `/app` if needed). The answer must be one exact number, such as an integer, fraction, or exact expression. Do not include units, words, variables, or a decimal approximation.

Problem:

Hazel the jackrabbit is making her way down a wall built from 2026 horizontal layers stacked one above another. All layers have the same left and right vertical boundaries. Counting from the top, the $n$ th layer is divided into $2^n - 1$ identical rectangular bricks placed next to one another. Hazel starts on the single brick in the uppermost layer. On each move, she descends exactly one layer, landing on a brick that shares a horizontal boundary segment of positive length with her current brick.

Determine the remainder obtained by dividing the total number of distinct move sequences by which Hazel can reach the 2026th layer by $1000$.