Problem:
Define the sequence of positive integers as follows. Let , , and for each , let be the result of expressing in base , then reading the resulting numeral in base , then adding (in base ). For example, , so . Express in base ten.
Problem:
Define the sequence of positive integers as follows. Let , , and for each , let be the result of expressing in base , then reading the resulting numeral in base , then adding (in base ). For example, , so . Express in base ten.
Solution:
Answer: 23097
We claim that for nonnegative integers and for , . We will prove this by induction; the base case for (when , ) is given in the problem statement.
Now, suppose that this is true for some pair and . We will divide this into two cases:
- Case 1: . Then, we want to prove that this is true for and . In particular, writing in base results in the digits and . Consequently, reading it in base gives , as desired.
- Case 2: . Then, we want to prove that this is true for and . Similarly to the previous case, we get that , as desired.
In both cases, we have proved our claim.