If n=1d418, where d represents a base-8 digit (and 1d418 represents a four-digit number whose second digit is d), then what is the sum of all possible values of n in base 10?
n=1+4∗8+d∗82+1∗83 (base 10) where d is and integer and 0≤d≤7
n= 1 + 32 +68d + 512
you can take it from there.