2015 AMC 12B Problem 20
Problem 20 of 25HarderAlgebraNumber Theory
For every positive integer let be the remainder obtained when is divided by Define a function recursively as follows:
What is
Answer choices
Show solution
Solution
Applying the recursion from left to right in each row gives If a row consists entirely of s, the recursion makes the next row entirely s as well. Hence, by induction, for every
Since we get
Thus, the correct answer is B.