# Switching Bases

For all positive integers $n$, let $f_3(n)$ be the representation of $n$ in base $3$, considered as a number in base $10.$ For example, since $5$ in base 3 is $12_3$, so $f_3(5)=12.$ What is the sum of all positive integers $n$ such that $f_3(n)=8\cdot n?$

×