DR.WANG Mathematics中文

2025 AIME II · Question 13

Algebra · recursion · substitution · Chinese Remainder Theorem · modular exponentiation · number-theory

Problem outline

Start with x1=25/11x_1=25/11 and iterate xi+1=(xi+1/xi−1)/3x_{i+1}=(x_i+1/x_i-1)/3. Write x2025=m/nx_{2025}=m/n in lowest terms. Find (m+n) mod 1000(m+n)\bmod 1000.

Show answer and methods 1 methods

Answer

248

Method 1 Track the sum after exact reduction

For x=a/bx=a/b in lowest terms the raw next fraction is (a2−ab+b2)/(3ab)(a^2-ab+b^2)/(3ab). Its numerator is coprime to abab: a prime dividing aa or bb cannot divide it. If 3∣a+b3\mid a+b and 3∤ab3\nmid ab, the numerator is divisible by 33, and the exact common factor is 33.

The reduced denominator is abab and the reduced sum is Si+1=(a+b)2/3S_{i+1}=(a+b)^2/3. The new sum remains divisible by 33, and neither reduced entry is divisible by 33. Since S1=36S_1=36, induction yields S2025=3⋅1222024S_{2025}=3\cdot12^{2^{2024}}.

This is 0(mod8)0\pmod8. Modulo 125125 the exponent can be reduced modulo 100100. Since 220≡76(mod100)2^{20}\equiv76\pmod{100} and 76⋅16≡16(mod100)76\cdot16\equiv16\pmod{100}, 22024≡16(mod100)2^{2024}\equiv16\pmod{100}. Repeated squaring gives 122,124,128,1216≡19,111,71,41(mod125)12^2,12^4,12^8,12^{16}\equiv19,111,71,41\pmod{125}. The sum is 123(mod125)123\pmod{125}; its unique representative modulo 10001000 divisible by 88 is 248248.

Source and attribution

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

Original question (external)