Define the sequence of positive integers {an} as follows. Let a1=1,a2=3, and for each n>2, let an be the result of expressing an−1 in base n−1, then reading the resulting numeral in base n, then adding 2 (in base n). For example, a2=310=112, so a3=113+23=610. Express a2013 in base ten.
A number or a short expression. Spacing and $ signs are ignored.
Solution
We claim that for nonnegative integers m and for 0≤n<3⋅2m,a3⋅2m+n=(3⋅2m+n)(m+2)+2n. We will prove this by induction; the base case for a3=6 (when m=0, n=0) is given in the problem statement. Now, suppose that this is true for some pair m and n. We will divide this into two cases: Case 1: n<3⋅2m−1. Then, we want to prove that this is true for m and n+1. In particular, writing a3⋅2m+n in base 3⋅2m+n results in the digits m+2 and 2n. Consequently, reading it in base 3⋅2m+n+1 gives a3⋅2m+n+1=2+(3⋅2m+n+1)(m+2)+2n=(2⋅2m+n+1)(m+2)+2(n+1), as desired. Case 2: n=3⋅2m−1. Then, we want to prove that this is true for m+1 and 0. Similarly to the previous case, we get that a3⋅2m+n+1=a3⋅2m+1=2+(3⋅2m+n+1)(m+2)+2n=2+(3⋅2m+1)(m+2)+2(3⋅2m−1)=(3⋅2m+1+0)((m+1)+2)+2(0), as desired. In both cases, we have proved our claim.
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: Omni-MATH,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.