Problem

Source: 2013 Saudi Arabia BMO TST IV p2

Tags: number theory, decimal representation



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