Problem

Source: BdMO 2020 Final Primary Category Problem 10

Tags: number theory, Number system



Sokal da tries to find out the largest positive integer n such that if n transforms to base-7, then it looks like twice of base-10. $156$ is such a number because $(156)_{10}$ = $(312)_7$ and 312 = 2$\times$156. Find out Sokal da's number.