2025 AIME II · Question 13
Problem outline
Start with and iterate . Write in lowest terms. Find .
Show answer and methods 1 methods
Answer
248
Method 1 Track the sum after exact reduction
For in lowest terms the raw next fraction is . Its numerator is coprime to : a prime dividing or cannot divide it. If and , the numerator is divisible by , and the exact common factor is .
The reduced denominator is and the reduced sum is . The new sum remains divisible by , and neither reduced entry is divisible by . Since , induction yields .
This is . Modulo the exponent can be reduced modulo . Since and , . Repeated squaring gives . The sum is ; its unique representative modulo divisible by is .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)