Given a real number x, find the powers of a base b that will shift the digits of x a number of places n to the left. This is equivalent to solving b^x = b^n x or x = n + log_b x. The solution is given by x = - (W(-b^(-n) ln b))/(ln b), where W(x) is the Lambert W-function.