Maths Olympiad Prep

Library / /33 of 84

, 2013

Algebra Difficulty 5.2 AIME, harder Find the answer United States

Problem:

Define the sequence of positive integers {an}\{a_n\} as follows. Let a1=1a_1=1, a2=3a_2=3, and for each n>2n>2, let ana_n be the result of expressing an1a_{n-1} in base n1n-1, then reading the resulting numeral in base nn, then adding 22 (in base nn). For example, a2=310=112a_2=3_{10}=11_2, so a3=113+23=610a_3=11_3+2_3=6_{10}. Express a2013a_{2013} in base ten.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:

Answer: 23097

We claim that for nonnegative integers mm and for 0n<32m0 \leq n < 3 \cdot 2^m, a32m+n=(32m+n)(m+2)+2na_{3 \cdot 2^m + n} = (3 \cdot 2^m + n)(m+2) + 2n. We will prove this by induction; the base case for a3=6a_3 = 6 (when m=0m=0, n=0n=0) is given in the problem statement.

Now, suppose that this is true for some pair mm and nn. We will divide this into two cases:

- Case 1: n<32m1n < 3 \cdot 2^m - 1. Then, we want to prove that this is true for mm and n+1n+1. In particular, writing a32m+na_{3 \cdot 2^m + n} in base 32m+n3 \cdot 2^m + n results in the digits m+2m+2 and 2n2n. Consequently, reading it in base 32m+n+13 \cdot 2^m + n + 1 gives a32m+n+1=2+(32m+n+1)(m+2)+2n=(32m+n+1)(m+2)+2(n+1)a_{3 \cdot 2^m + n + 1} = 2 + (3 \cdot 2^m + n + 1)(m+2) + 2n = (3 \cdot 2^m + n + 1)(m+2) + 2(n+1), as desired.

- Case 2: n=32m1n = 3 \cdot 2^m - 1. Then, we want to prove that this is true for m+1m+1 and 00. Similarly to the previous case, we get that a32m+n+1=a32m+1=2+(32m+n+1)(m+2)+2n=2+(32m+1)(m+2)+2(32m1)=(32m+1+0)((m+1)+2)+2(0)a_{3 \cdot 2^m + n + 1} = a_{3 \cdot 2^{m+1}} = 2 + (3 \cdot 2^m + n + 1)(m+2) + 2n = 2 + (3 \cdot 2^{m+1})(m+2) + 2(3 \cdot 2^m - 1) = (3 \cdot 2^{m+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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.