2023 AIME II Problema 15

A continuación está la solución preparada profesionalmente para el Problema 15 del 2023 AIME II, de LIVE by Po-Shen Loh. También puedes intentar el examen cronometrado completo, ver todas las soluciones del 2023 AIME II, o revisar la clave de respuestas.

Todos los problemas se usan con el permiso legal oficial de la Mathematical Association of America (MAA).

Conceptos:aritmética modularbase numéricaorden multiplicativo

Nivel de dificultad: 3370

15.

Para cada entero positivo n,n, sea ana_n el menor múltiplo entero positivo de 2323 tal que an1(mod2n).a_n \equiv 1 \pmod{2^n}. Halla el número de enteros positivos nn menores o iguales que 10001000 que satisfacen an=an+1.a_n = a_{n+1}.

For each positive integer nn let ana_n be the least positive integer multiple of 2323 such that an1(mod2n).a_n \equiv 1 \pmod{2^n}. Find the number of positive integers nn less than or equal to 10001000 that satisfy an=an+1.a_n = a_{n+1}.

Solución:

Escribe an=23bn,a_n = 23 b_n, donde bnb_n es el único entero de [1,2n][1, 2^n] con 23bn1(mod2n),23 b_n \equiv 1 \pmod{2^n}, es decir, el inverso de 2323 módulo 2n.2^n. Reducir módulo 2n2^n muestra que bn+1{bn, bn+2n},b_{n+1} \in \{b_n,\ b_n + 2^n\}, así que an=an+1a_n = a_{n+1} exactamente cuando bn+1=bn,b_{n+1} = b_n, lo que ocurre exactamente cuando el dígito binario de peso 2n2^n en bn+1b_{n+1} es 0.0.

Como 2389=2047=2111,23 \cdot 89 = 2047 = 2^{11} - 1, poniendo Tk=1+211+222T_k = 1 + 2^{11} + 2^{22} ++211(k1){}+ \cdots + 2^{11(k-1)} se obtiene 2389Tk=211k1,23 \cdot 89\,T_k = 2^{11k} - 1, así que 23(211k89Tk)1(mod211k), \begin{gathered} 23\left(2^{11k} - 89\,T_k\right) \\ \equiv 1 \pmod{2^{11k}}, \end{gathered} y todo bnb_n con n11kn \le 11k es la reducción de 211k89Tk2^{11k} - 89\,T_k módulo 2n.2^n. En binario, 89=1011001two89 = 1011001_{\text{two}} ocupa las posiciones 0,3,4,60, 3, 4, 6 de cada bloque de 1111 bits de 89Tk.89\,T_k. Como 89Tk89\,T_k es impar, 211k89Tk2^{11k} - 89\,T_k =(211k189Tk)+1= \bigl(2^{11k} - 1 - 89\,T_k\bigr) + 1 mantiene el dígito 00 igual a 11 y complementa todos los dígitos en las posiciones 11 hasta 11k1.11k - 1.

Así que para n1,n \ge 1, el dígito de peso 2n2^n es 00 exactamente cuando n0,3,4,6(mod11).n \equiv 0, 3, 4, 6 \pmod{11}. Entre 1n1000=9011+10,1 \le n \le 1000 = 90 \cdot 11 + 10, el residuo 00 aparece 9090 veces y los residuos 3,3, 4,4, 66 aparecen 9191 veces cada uno, para un total de 90+391=363.90 + 3 \cdot 91 = 363.

Write an=23bn,a_n = 23 b_n, where bnb_n is the unique integer in [1,2n][1, 2^n] with 23bn1(mod2n),23 b_n \equiv 1 \pmod{2^n}, i.e. the inverse of 2323 mod 2n.2^n. Reducing mod 2n2^n shows bn+1{bn, bn+2n},b_{n+1} \in \{b_n,\ b_n + 2^n\}, so an=an+1a_n = a_{n+1} exactly when bn+1=bn,b_{n+1} = b_n, which happens exactly when the binary digit of weight 2n2^n in bn+1b_{n+1} is 0.0.

Since 2389=2047=2111,23 \cdot 89 = 2047 = 2^{11} - 1, setting Tk=1+211+222T_k = 1 + 2^{11} + 2^{22} ++211(k1){}+ \cdots + 2^{11(k-1)} gives 2389Tk=211k1,23 \cdot 89\,T_k = 2^{11k} - 1, so 23(211k89Tk)1(mod211k), \begin{gathered} 23\left(2^{11k} - 89\,T_k\right) \\ \equiv 1 \pmod{2^{11k}}, \end{gathered} and every bnb_n with n11kn \le 11k is the reduction of 211k89Tk2^{11k} - 89\,T_k mod 2n.2^n. In binary, 89=1011001two89 = 1011001_{\text{two}} occupies positions 0,3,4,60, 3, 4, 6 of each 1111-bit block of 89Tk.89\,T_k. Since 89Tk89\,T_k is odd, 211k89Tk2^{11k} - 89\,T_k =(211k189Tk)+1= \bigl(2^{11k} - 1 - 89\,T_k\bigr) + 1 keeps digit 00 equal to 11 and complements every digit in positions 11 through 11k1.11k - 1.

So for n1,n \ge 1, the digit of weight 2n2^n is 00 exactly when n0,3,4,6(mod11).n \equiv 0, 3, 4, 6 \pmod{11}. Among 1n1000=9011+10,1 \le n \le 1000 = 90 \cdot 11 + 10, the residue 00 occurs 9090 times and the residues 3,3, 4,4, 66 occur 9191 times each, for a total of 90+391=363.90 + 3 \cdot 91 = 363.

← Problema 14#14Examen completo

El Problema 15 en otros años