Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra junior

Problem

The function is defined on positive integers as follows: Find the maximum value of the function.
Solution
We see that for 2, 3, 9. Then and so on. At this point, the function becomes periodic, with period 5. Therefore, the maximum value of the function is
Final answer
19