Question 21
Number theory BDMO 2020 National
Sakal da is trying to find the largest positive integer , such that the 7-base representation of looks like a 10-base number which is exactly . He noticed, one such number is 156, because 156 base 7 is 312. What is the number he came up with?
(Writing a number in 10-base means writing it in the decimal system. So . If we go to 7-base, we just change 10 to 7. So 234 in base 7 would be in base 10.)