Let the sequence of rationals x1,x2,… be defined such that x1=1125 and xk+1=31(xk+xk1−1) for all k≥1. Then x2025 can be expressed as nm for relatively prime positive integers m and n. Find the remainder when m+n is divided by 1000.
Solución:
Sea yk=xk+12xk−1. De la recurrencia, 2xk+1−1=3xk(2xk−1)(xk−2) y xk+1+1=3xk(xk+1)2, así que yk+1=(xk+1)2(2xk−1)(xk−2)=yk(yk−1)=yk2−yk, ya que yk−1=xk+1xk−2. Aquí y1=36/1139/11=1213. Por inducción yk=122k−1ck donde c1=13 y ck+1=ck(ck−122k−1); como 122k−1 es divisible por 6, cada ck permanece coprimo con 6.
Invirtiendo la sustitución, xk=2−yk1+yk=2d−cd+c con d=122k−1 y c=ck. Todos los xk son positivos (para x>0, x+x1−1≥1), así que yk=xk+12xk−1∈(−1,2), haciendo que tanto d+c como 2d−c sean positivos. Cualquier divisor común de d+c y 2d−c divide a sus combinaciones 3d y 3c; como gcd(c,d)=1, divide a 3, pero 3∣d y 3∤c, así que 3∤d+c. Por lo tanto la fracción está en su forma más simple y m+n=3d=3⋅1222024.
Módulo 8, 1222024≡0. Módulo 125, el orden multiplicativo de 12 divide a λ(125)=100, y 22024≡16(mod100) (es 0 mod 4, y 220≡1 mod 25 con 2024≡4 mod 20), así que 1222024≡1216≡41(mod125). El teorema chino del resto da 1222024≡416(mod1000), así que m+n≡3⋅416 =1248≡248(mod1000).
Let yk=xk+12xk−1. From the recurrence, 2xk+1−1=3xk(2xk−1)(xk−2) and xk+1+1=3xk(xk+1)2, so yk+1=(xk+1)2(2xk−1)(xk−2)=yk(yk−1)=yk2−yk, since yk−1=xk+1xk−2. Here y1=36/1139/11=1213. By induction yk=122k−1ck where c1=13 and ck+1=ck(ck−122k−1); since 122k−1 is divisible by 6, every ck stays coprime to 6.
Inverting the substitution, xk=2−yk1+yk=2d−cd+c with d=122k−1 and c=ck. All xk are positive (for x>0, x+x1−1≥1), so yk=xk+12xk−1∈(−1,2), making both d+c and 2d−c positive. Any common divisor of d+c and 2d−c divides their combinations 3d and 3c; as gcd(c,d)=1, it divides 3, but 3∣d and 3∤c, so 3∤d+c. Hence the fraction is in lowest terms and m+n=3d=3⋅1222024.
Modulo 8, 1222024≡0. Modulo 125, the multiplicative order of 12 divides λ(125)=100, and 22024≡16(mod100) (it is 0 mod 4, and 220≡1 mod 25 with 2024≡4 mod 20), so 1222024≡1216≡41(mod125). The Chinese remainder theorem gives 1222024≡416(mod1000), so m+n≡3⋅416 =1248≡248(mod1000).