Maths Olympiad Prep

Library / /3 of 13

, 2013

Algebra Difficulty 7.4 National olympiad, round 2 Prove it Saudi Arabia

The base-7 representation of number nn is abc(7)\overline{a b c}_{(7)}, and the base-9 representation of number nn is cba(9)\overline{c b a}_{(9)}. What is the decimal (base-10) representation of nn?

Solution

We have n=c+7b+49a=a+9b+81cn = c + 7b + 49a = a + 9b + 81c. This implies that 20(2ca)=(4ab)20(2c - a) = (4a - b). Because 0a,b,c60 \leq a, b, c \leq 6, either 4ab=2ca=04a - b = 2c - a = 0 or 4ab=204a - b = 20 and 2ca=12c - a = 1.

1. If 4ab=2ca=04a - b = 2c - a = 0, then b=8c6b = 8c \leq 6 and therefore a=b=c=0a = b = c = 0, that is n=0n = 0.

2. If 4ab=204a - b = 20 and 2ca=12c - a = 1, then a=5a = 5, or 66. If a=5a = 5 then b=0b = 0 and c=3c = 3 and n=248n = 248. If a=6a = 6, then 2c=72c = 7, which is impossible.

Therefore, n=0n = 0 or 248248.

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 and solution reproduced as published; topic and difficulty added by this site.