DR.WANG Mathematics中文

2021 AIME I · Question 10

Number theory · greatest common divisor · recursion · invariant · algebra · problem-solving

Problem outline

Start with a1=2020/2021a_1=2020/2021. To compute each next term, first express ak=m/na_k=m/n in lowest terms, then set ak+1=(m+18)/(n+19)a_{k+1}=(m+18)/(n+19). Sum all positive indices jj for which aj=t/(t+1)a_j=t/(t+1) with tt a positive integer.

Show answer and methods 1 methods

Answer

059

Method 1 Track the next cancellation

A term of the desired kind is already reduced. Write it as (18+u)/(19+u)(18+u)/(19+u). Counting this term as h=1h=1, the unreduced expressions through the first cancellation are (18h+u)/(19h+u)(18h+u)/(19h+u), because each step adds 1818 and 1919. Their gcd is gcd⁡(18h+u,h)=gcd⁡(u,h)\gcd(18h+u,h)=\gcd(u,h).

For u>1u>1, let pp be its smallest prime factor. Up to h=p−1h=p-1 the fractions stay reduced, and the denominator exceeds the numerator by hh, so none with h>1h>1 qualify. At h=ph=p division by pp produces (18+u/p)/(19+u/p)(18+u/p)/(19+u/p). This is the next qualifying term, p−1p-1 positions later.

Initially u=2002=2⋅7⋅11⋅13u=2002=2\cdot7\cdot11\cdot13. Successively adding 1,6,10,121,6,10,12 to the starting index 11 gives 1,2,8,18,301,2,8,18,30. At the last of these u=1u=1, so no further cancellation is possible and all subsequent differences exceed one. The indices sum to 5959.

Source and attribution

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

Original question (external)