Skip to main content

1988 AIME Problem 2

Problem 2 of 15EasierAlgebraNumber TheoryProblem-Solving Techniques

For any positive integer k,k, let f1(k)f_1(k) denote the square of the sum of the digits of k.k. For n≥2,n\geq2, let fn(k)=f1(fn−1(k)).f_n(k)=f_1(f_{n-1}(k)). Find f1988(11).f_{1988}(11).

Your answer

Integer from 0 to 999
Show solution

Solution

The iterates begin 4,4, 16,16, 49,49, 169,169, 256,256, followed by 169,169, 256,256, ….\ldots. Thus from the fourth iterate onward, even indices give 169169 and odd indices give 256.256. Since 19881988 is even, f1988(11)=169.f_{1988}(11)=169.
AoPS wiki

Tagged: digits · recursion · pattern recognition

More practice