Skip to main content

2018 AIME I Problem 2

Problem 2 of 15EasierNumber TheoryArithmetic

The number nn can be written in base 1414 as a‾ b‾ c‾,\underline{a}\,\underline{b}\,\underline{c}, can be written in base 1515 as a‾ c‾ b‾,\underline{a}\,\underline{c}\,\underline{b}, and can be written in base 66 as a‾ c‾ a‾ c‾,\underline{a}\,\underline{c}\,\underline{a}\,\underline{c}, where a>0.a \gt 0. Find the base-1010 representation of n.n.

Your answer

Integer from 0 to 999
Show solution

Solution

Writing out the place values, n=196a+14b+cn = 196a + 14b + c =225a+15c+b= 225a + 15c + b =222a+37c,= 222a + 37c, where aa and cc are base-66 digits with 1≤a≤51 \le a \le 5 and 0≤c≤5,0 \le c \le 5, and 0≤b≤13.0 \le b \le 13. Equating the last two expressions gives b=22c−3a.b = 22c - 3a. Substituting into 196a+14b+c=225a+15c+b196a + 14b + c = 225a + 15c + b (which says 13b=29a+14c13b = 29a + 14c) yields 13(22c−3a)=29a+14c,13(22c - 3a) = 29a + 14c, so 272c=68a,272c = 68a, that is a=4c.a = 4c. The digit bounds force c=1,c = 1, a=4,a = 4, and then b=22−12=10,b = 22 - 12 = 10, which is a valid digit in bases 1414 and 15.15. Therefore n=222⋅4+37⋅1=925.n = 222 \cdot 4 + 37 \cdot 1 = 925. Indeed 925=196⋅4+14⋅10+1,925 = 196 \cdot 4 + 14 \cdot 10 + 1, confirming the base-1414 form. The answer is 925.925.
AoPS wiki

Tagged: number base · place value · Diophantine Equation

More practice