2015 AMC 12B Problema 20

Intenta el Problema 20 del 2015 AMC 12B a continuación y luego compara tu respuesta con la solución preparada profesionalmente de LIVE by Po-Shen Loh. También puedes intentar el examen cronometrado completo, ver todas las soluciones del 2015 AMC 12B, o revisar la clave de respuestas.

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

20.

Para cada entero positivo n,n, sea mod⁡5(n)\operatorname{mod}_5(n) el residuo obtenido al dividir nn entre 5.5. Define una función f:{0,1,2,3,…}f : \{0, 1, 2, 3, \ldots\} ×{0,1,2,3,4}\times \{0, 1, 2, 3, 4\} →{0,1,2,3,4}\to \{0, 1, 2, 3, 4\} recursivamente como sigue:
f(i,j)={mod⁡5(j+1)si i=0 y 0≤j≤4,f(i−1,1)si i≥1 y j=0, yf(i−1,f(i,j−1))si i≥1 y 1≤j≤4. \tiny f(i, j) = \begin{cases} \operatorname{mod}_5(j + 1) & \text{si } i = 0 \text{ y } 0 \le j \le 4, \\ f(i - 1, 1) & \text{si } i \ge 1 \text{ y } j = 0, \text{ y} \\ f(i - 1, f(i, j - 1)) & \text{si } i \ge 1 \text{ y } 1 \le j \le 4. \end{cases}
¿Cuánto es f(2015,2)f(2015, 2)?
For every positive integer n,n, let mod⁡5(n)\operatorname{mod}_5(n) be the remainder obtained when nn is divided by 5.5. Define a function f:{0,1,2,3,…}f : \{0, 1, 2, 3, \ldots\} ×{0,1,2,3,4}\times \{0, 1, 2, 3, 4\} →{0,1,2,3,4}\to \{0, 1, 2, 3, 4\} recursively as follows:
f(i,j)={mod⁡5(j+1)if i=0 and 0≤j≤4,f(i−1,1)if i≥1 and j=0, andf(i−1,f(i,j−1))if i≥1 and 1≤j≤4. \tiny f(i, j) = \begin{cases} \operatorname{mod}_5(j + 1) & \text{if } i = 0 \text{ and } 0 \le j \le 4, \\ f(i - 1, 1) & \text{if } i \ge 1 \text{ and } j = 0, \text{ and} \\ f(i - 1, f(i, j - 1)) & \text{if } i \ge 1 \text{ and } 1 \le j \le 4. \end{cases}
What is f(2015,2)?f(2015, 2)?
00
11
22
33
44
Respuesta: B
Conceptos:recursiónreconocimiento de patronesaritmética modular
Pista pequeña:
Construye la tabla de f(i,j)f(i, j) fila por fila para ii pequeño
Build the table of f(i,j)f(i, j) row by row for small ii
Pista grande:
Sigue la columna j=2;j = 2; se vuelve constante cuando ii es lo suficientemente grande
Track the column j=2;j = 2; it becomes constant once ii is large enough
Solución:
Aplicar la recursión de izquierda a derecha en cada fila da i\j01234012340123401230241303410431313511111 \begin{array}{c|ccccc} i\backslash j&0&1&2&3&4\\ \hline 0&1&2&3&4&0\\ 1&2&3&4&0&1\\ 2&3&0&2&4&1\\ 3&0&3&4&1&0\\ 4&3&1&3&1&3\\ 5&1&1&1&1&1 \end{array} Si una fila está formada enteramente por 11, la recursión hace que la fila siguiente también esté formada enteramente por 11. Por lo tanto, por inducción, f(i,2)=1f(i,2)=1 para todo i≥5.i\ge5.
Como 2015≥5,2015 \ge 5, obtenemos f(2015,2)=1.f(2015, 2) = 1.
Por lo tanto, la respuesta correcta es B.
Applying the recursion from left to right in each row gives i\j01234012340123401230241303410431313511111 \begin{array}{c|ccccc} i\backslash j&0&1&2&3&4\\ \hline 0&1&2&3&4&0\\ 1&2&3&4&0&1\\ 2&3&0&2&4&1\\ 3&0&3&4&1&0\\ 4&3&1&3&1&3\\ 5&1&1&1&1&1 \end{array} If a row consists entirely of 11s, the recursion makes the next row entirely 11s as well. Hence, by induction, f(i,2)=1f(i,2)=1 for every i≥5.i\ge5.
Since 2015≥5,2015 \ge 5, we get f(2015,2)=1.f(2015, 2) = 1.
Thus, the correct answer is B.
LIVE por Po-Shen Loh
Programas

Clases en Vivo

Clases a tu Ritmo

Estrellas de Escuela Secundaria

Beca

Sobre Nosotros

Quien es Po-Shen Loh?

Contacto de Correo Electronico

Letra de Noticia

Trabajos

Ser Instructor Estrella

For a more Thought Full world.

© 2026 Expii, Inc.