Maths Olympiad Prep

Library / /226 of 520

Number theory Difficulty 2.9 Junior Find the answer

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

A number or a short expression. Spacing and $ signs are ignored.

Solution

We see that f1(11)=4f_{1}(11)=4
f2(11)=f1(4)=16f_2(11) = f_1(4)=16
f3(11)=f1(16)=49f_3(11) = f_1(16)=49
f4(11)=f1(49)=169f_4(11) = f_1(49)=169
f5(11)=f1(169)=256f_5(11) = f_1(169)=256
f6(11)=f1(256)=169f_6(11) = f_1(256)=169
Note that this revolves between the two numbers. Since 19881988 is even, we thus have f1988(11)=f4(11)=169f_{1988}(11) = f_{4}(11) = \boxed{169}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.