Problem

Source:

Tags: number theory proposed, number theory



Find all the integers written as $\overline{abcd}$ in decimal representation and $\overline{dcba}$ in base $7$.