The base-7 representation of number is , and the base-9 representation of number is . What is the decimal (base-10) representation of ?
Selection tests for the Balkan Mathematical Olympiad, 2013
Solution
We have . This implies that . Because , either or and .
1. If , then and therefore , that is .
2. If and , then , or . If then and and . If , then , which is impossible.
Therefore, or .
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.