Call a positive integer $N$ a "7-10 double" if the digits of the base-7 representation of $N$ form a base-10 number that is twice $N$. For example, 51 is a 7-10 double because its base-7 representation is 102. What is the largest 7-10 double? Express your answer in decimal.
I am really confused about how to apporach this... My current thoughts are if N contains digit 4/5/6, then the quantity of 2N transformed to base 7 will not be the same but it seems like it doesnt help much. Can someone give me some clue about what to do next? Thank you!
Take 51 for example, multiply by two and it will be 102. And 102(base7)=51(base 10), so it is a 7-10 double.
Say your number is $x$; then we have $$ x=a_0+a_1\cdot 7+\dots+a_k\cdot 7^k $$ and the requirement is that $$ a_0+a_1\cdot 10+\dots+a_k\cdot 10^k=2x $$ We so have $$ a_0+a_1(2\cdot 7-10)+a_2(2\cdot 7^2-10^2)+\dots+a_k(2\cdot 7^k-10^k)=0 $$ or $$ a_0+4a_1= a_2(10^2-2\cdot 7^2)+\dots+a_k(10^k-2\cdot 7^k) $$ Note that the left-hand side is at most $6+4\cdot 6=30$ and $$ 10^t-2\cdot7^t>30 $$ as soon as $t>2$ (prove it). Thus the number can be written $$ x=a_0+a_1\cdot 7+a_2\cdot 7^2 $$ with $0\le a_i\le 6$.
Can you finish?