2025 AIME I · Question 10
Problem outline
Count the fillings of a strip with digits – in which each row and each of the three disjoint boxes contains all nine digits. For the resulting count , evaluate .
Show answer and methods 2 methods
Answer
081
Method 1 Assign a cyclic direction to every digit
The left box can be filled in ways. Fix such a filling and label its three rows cyclically . The next copy of a digit in the middle box must move from its old row to either or modulo .
Write for how many of the three digits from row move forward. The new population of row equals , which must be . This forces all to have a common value .
For each of the three source rows choose which digits move forward. Summing gives middle-box assignments to rows. Each digit goes in its one unused row in the right box; that row receives exactly the three digits missing from its first six cells.
Each of the six three-cell row segments in the last two boxes admits orders. Hence . The requested weighted sum is .
Method 2 Classify the six possible paths of a digit
Record for each digit the rows it occupies in the three boxes from left to right. The record must be a permutation of . Split the six records into the cyclic triples and their reversals . Once all records are assigned, each of the nine box–row segments can be internally ordered in ways.
Let the counts for be . In the first box row uses only records , so the count for is . In the second box row uses only , so . In the third box row uses only , so . Applying the same three-per-cell condition to the other first-box rows makes the counts of and also .
Conversely these counts satisfy every three-per-cell condition. For fixed , assign nine labelled digits to these six record types in ways. Multiplying by and summing over yields . Its prime powers give .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)