A certain integer has 4 digits when written in base 8. The same integer has d digits when written in base 3. What is the sum of all possible values of d?
Smallest 4 digit base 8 number = 1000 = 51210 = 2002223
Largest 4 digit base 8 = 1111 = 58510 = 2102003 I think you can count 'd' now.....