DR.WANG Mathematics中文

2023 AIME I · Question 14

Counting & combinatorics · graph theory · modular arithmetic · combinations · number-theory

Problem outline

Two distinguishable clock hands start at 1212. Each move advances just one hand by one hour clockwise. In 144144 moves the hands return to the start and the ordered hand positions immediately after the moves run through all 144144 possibilities exactly once. How many move sequences are there modulo 10001000?

Show answer and methods 1 methods

Answer

608

Method 1 Study the twelve diagonals of the clock-state grid

Write the positions as (x,y)(x,y) modulo 1212. Each move raises x+yx+y by one. On a diagonal x+y=tx+y=t, the outgoing move takes first coordinate xx to either xx or x+1x+1 on the next diagonal. Since every state must have one predecessor, these twelve images must be distinct.

If choices were mixed around this cyclic row, somewhere a choice of x+1x+1 would be followed by a choice to stay, producing the same image twice. Thus every state on a given diagonal advances the same hand. The full word repeats its first twelve moves.

If kk of those moves advance the first hand, each block shifts its position by kk on returning to a diagonal. All twelve positions occur exactly when gcd⁡(k,12)=1\gcd(k,12)=1. Hence the count is (121)+(125)+(127)+(1211)=1608\binom{12}1+\binom{12}5+\binom{12}7+\binom{12}{11}=1608, with remainder 608608.

Source and attribution

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

Original question (external)