返回题库

AIME 2023 I · 第 14 题

AIME 2023 I — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

The following analog clock has two hands that can move independently of each other.

AIME diagram

Initially, both hands point to the number 1212. The clock performs a sequence of hand movements so that on each movement, one of the two hands moves clockwise to the next number on the clock face while the other hand does not move.

Let NN be the number of sequences of 144144 hand movements such that during the sequence, every possible positioning of the hands appears exactly once, and at the end of the 144144 movements, the hands have returned to their initial position. Find the remainder when NN is divided by 10001000.

解析

Solution 1 (Drawing the Grid)

This problem is, in essence, the following: A 12×1212\times12 coordinate grid is placed on a (flat) torus; how many loops are there that pass through each point while only moving up or right? In other words, Felix the frog starts his journey at (0,0)(0,0) in the coordinate plane. Every second, he jumps either to the right or up, until he reaches an xx- or yy-coordinate of 1212. At this point, if he tries to jump to a coordinate outside the square from (0,0)(0,0) to (11,11)(11,11), he "wraps around" and ends up at an xx- or yy- coordinate of 00. How many ways are there for Felix to jump on every grid point in this square, so that he ends at (0,0)(0,0)? This is consistent with the construction of the flat torus as Z2/12Z2\mathbb Z^2/12\mathbb Z^2 (2-dimensional modular arithmetic. (Z12)2(\mathbb{Z}_{12})^2)

Moving on, define a path\textit{path} from point AA to point BB to be a sequence of "up"s and "right"s that takes Felix from AA to BB. The distance\textit{distance} from AA to BB is the length of the shortest path from AA to BB. At the crux of this problem is the following consideration: The points Ai=(i,11i),i0,...,11A_i=(i,11-i), i\in{0,...,11} are pairwise equidistant, each pair having distance of 1212 in both directions.

AIME diagram

A valid complete path then joins two AiA_i's, say AiA_i and AjA_j. In fact, a link between some AiA_i and AjA_j fully determines the rest of the cycle, as the path from Ai+1A_{i+1} must "hug" the path from AiA_i, to ensure that there are no gaps. We therefore see that if A0A_0 leads to AkA_k, then AiA_i leads to Ai+kA_{i+k}. Only the values of kk relatively prime to 1212 result in solutions, though, because otherwise A0A_0 would only lead to {Ai:nZ:iknmod 12}\{A_i:\exists n\in \mathbb Z:i\equiv kn\quad\text{mod 12}\}. The number of paths from A0A_0 to AkA_k is (12k){12\choose k}, and so the answer is

(121)+(125)+(127)+(1211)=1608.{12\choose1}+{12\choose5}+{12\choose7}+{12\choose11}=1\boxed{608}. Notes:

- One can prove that the path from Ai+1A_{i+1} must "hug" the path from AiA_i by using techniques similar to those in Solution 2.

- One can count the paths as follows: To get from A0A_0 to AiA_i, Felix takes kk rights and 12k12-k ups, which can be done in (12k){12\choose k} ways.

Solution 2 (Simple Cyclic Permutation Analysis)

This is more of a solution sketch and lacks rigorous proof for interim steps, but illustrates some key observations that lead to a simple solution.

Note that one can visualize this problem as walking on a N×NN \times N grid where the edges warp. Your goal is to have a single path across all nodes on the grid leading back to (0, 0)(0,\ 0). For convenience, any grid position are presumed to be in modN\mod N.

Note that there are exactly two ways to reach node (i, j)(i,\ j), namely (i1, j)(i - 1,\ j) and (i, j1)(i,\ j - 1).

As a result, if a path includes a step from (i, j)(i,\ j) to (i+1, j)(i + 1,\ j), there cannot be a step from (i, j)(i,\ j) to (i, j+1)(i,\ j + 1). However, a valid solution must reach (i, j+1)(i,\ j + 1), and the only valid step is from (i1, j+1)(i - 1,\ j + 1).

So a solution that includes a step from (i, j)(i,\ j) to (i+1, j)(i + 1,\ j) dictates a step from (i1, j+1)(i - 1,\ j + 1) to (i, j+1)(i,\ j + 1) and by extension steps from (ia, j+a)(i - a,\ j + a) to (ia+1, j+a)(i - a + 1,\ j + a). We observe the equivalent result for steps in the orthogonal direction.

This means that in constructing a valid solution, taking one step in fact dictates N steps, thus it's sufficient to count valid solutions with N=a+bN = a + b moves of going right aa times and bb times up the grid. The number of distinct solutions can be computed by permuting 2 kinds of indistinguishable objects (Na)\binom{N}{a}.

Here we observe, without proof, that if gcd(a,b)1\gcd(a, b) \neq 1, then we will return to the origin prematurely. For N=12N = 12, we only want to count the number of solutions associated with 12=1+11=5+7=7+5=11+112 = 1 + 11 = 5 + 7 = 7 + 5 = 11 + 1.

(For those attempting a rigorous proof, note that gcd(a,b)=gcd(a+b,b)=gcd(N,b)=gcd(N,a)\gcd(a, b) = \gcd(a + b, b) = \gcd(N, b) = \gcd(N, a)).

The total number of solutions, noting symmetry, is thus

2((121)+(125))=16082\cdot\left(\binom{12}{1} + \binom{12}{5}\right) = 1608 This yields 608\boxed{\textbf{608}} as our desired answer.

~ cocoa @ https://www.corgillogical.com/

Solution 3 (Matrix Analysis and Permutation)

Define a 12×1212 \times 12 matrix XX. Each entry xi,jx_{i, j} denotes the number of movements the longer hand moves, given that two hands jointly make 12(i1)+(j1)12 \left( i - 1 \right) + \left( j - 1 \right) movements. Thus, the number of movements the shorter hand moves is 12(i1)+(j1)xi,j12 \left( i - 1 \right) + \left( j - 1 \right) - x_{i, j}.

Denote by ri,jr_{i, j} the remainder of xi,jx_{i, j} divided by 12. Denote by RR this remainder matrix.

If two hands can return to their initial positions after 144 movements, then r12,12=0r_{12, 12} = 0 or 11. Denote by S0S_0 (resp. S11S_{11}) the collection of feasible sequences of movements, such that r12,12=0r_{12, 12} = 0 (resp. r12,12=11r_{12, 12} = 11).

Define a function f:S0S11f : S_0 \rightarrow S_{11}, such that for any {xi,j,  i,j{1,2,,12}}S0\left\{ x_{i,j} , \ \forall \ i, j \in \left\{ 1, 2, \cdots , 12 \right\} \right\} \in S_0, the functional value of the entry indexed as (i,j)\left( i, j \right) is 12(i1)+(j1)xi,j12 \left( i - 1 \right) + \left( j - 1 \right) - x_{i, j}. Thus, function ff is bijective. This implies S0=S11| S_0 | = | S_{11} |.

In the rest of analysis, we count S0| S_0 |.

We make the following observations:

  • x1,1=0x_{1, 1} = 0 and 12x12,1212 | x_{12, 12}. These follow from the definition of S0S_0.* Each column of RR is a permutation of {0,1,,11}\left\{ 0, 1, \cdots , 11 \right\}. The reasoning is as follows. Suppose there exist i<ii < i', jj, such that ri,j=ri,jr_{i, j} = r_{i', j}. Then this entails that the positions of two hands after the (12(i1)+(j1))\left( 12 \left( i' - 1 \right) + \left( j - 1 \right) \right)th movement coincide with their positions after the (12(i1)+(j1))\left( 12 \left( i - 1 \right) + \left( j - 1 \right) \right)th movement.* For any j{1,2,,11}j \in \left\{ 1, 2 ,\cdots , 11 \right\}, xi,j+1xi,jx_{i, j+1} - x_{i, j} is equal to either 0 for all ii or 1 for all ii. The reasoning is as follows. If this does not hold and the jjth column in RR is a permutation of {0,1,,12}\left\{ 0, 1, \cdots , 12 \right\}, then the j+1j+1th column is no longer a permutation of {0,1,,12}\left\{ 0, 1, \cdots , 12 \right\}. This leads to the infeasibility of the movements.* xi+1,1=xi,12x_{i+1, 1} = x_{i, 12} for any i{1,2,,11}i \in \left\{ 1, 2, \cdots , 11 \right\}. This follows from the conditions that the 1212th column in RR excluding r12,12r_{12, 12} and the first column in RR excluding x1,1x_{1, 1} are both permutations of {1,2,,11}\left\{ 1, 2, \cdots , 11 \right\}.

All observations jointly imply that xi,12=ix1,12x_{i, 12} = i \cdot x_{1, 12}. Thus, {r1,12,r2,12,,r11,12}\left\{ r_{1, 12}, r_{2, 12} , \cdots , r_{11, 12} \right\} is a permutation of {1,2,,11}\left\{ 1, 2, \cdots , 11 \right\}. Thus, x1,12x_{1, 12} is relatively prime to 12.

Because x1,1=0x_{1, 1} = 0 and x1,12x1,111x_{1, 12} - x_{1, 1} \leq 11, we have x1,12=1x_{1, 12} = 1, 5, 7, or 11.

Recall that when we move from x1,1x_{1, 1} to x1,12x_{1, 12}, there are 11 steps of movements. Each movement has x1,j+1xi,j=0x_{1, j+1} - x_{i, j} = 0 or 1. Thus, for each given x1,12x_{1, 12}, the number of feasible movements from x1,1x_{1, 1} to x1,12x_{1, 12} is (11x1,12)\binom{11}{x_{1, 12}}.

Therefore, the total number of feasible movement sequences in this problem is

S0+S11=2S0=2x1,12=1,5,7,11(11x1,12)=2(11+462+330+1)=1608.\begin{aligned} | S_0 | + | S_{11} | & = 2 | S_0 | \\ & = 2 \cdot \sum_{x_{1, 12} = 1, 5, 7, 11} \binom{11}{x_{1, 12}} \\ & = 2 \left( 11 + 462 + 330 + 1 \right) \\ & = 1608 . \end{aligned} Therefore, the answer is (608)\boxed{\textbf{(608)}}.

~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)

Supplementary Contents

This can be interpreted as the 2D-model stated in Solution 1. After certain observations, we found out that the first 12 steps determines the all the rest.

This is similar to the situation of Problem 11 of 2025 AIME II (https://artofproblemsolving.com/wiki/index.php/2025_AIME_II_Problems/Problem_11). In this case, every possible positioning of the hands appears exactly once, meaning that the length of the repeating cycle is 12. As we can see from the pattern, only 1 and numbers relatively prime to 12 can fit in the conditions, which are 1, 5, 7, 11.

In conclusion,

(121)+(125)+(127)+(1211)=1608.{12\choose1}+{12\choose5}+{12\choose7}+{12\choose11}=1\boxed{608}. ~cassphe

Video Solution

https://youtu.be/3DtJB78aua4

~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)

Video Solution

https://youtu.be/tsoLZj8Dz2o

~MathProblemSolvingSkills.com

Animated Video Solution

https://youtu.be/A5BqIUPIbVg

~Star League (https://starleague.us)