Given a positive integer , it can be shown that every complex number of the form , where and are integers, can be uniquely expressed in the base using the integers as digits. That is, the equation
is true for a unique choice of non-negative integer and digits chosen from the set , with . We write
to denote the base expansion of . There are only finitely many integers that have four-digit expansions
Find the sum of all such .
This problem is copyrighted by the American Mathematics Competitions.
Instructions for entering answers:
For questions or comments, please email firstname.lastname@example.org.