Comment
Comment by jetrink
The "area" that you want to minimize is the number of digits, d, times the base, b.
d is roughly equal to the log of the number represented, N, base b.
Substituting,
Take the derivative of the area with respect to b and find where the derivative is zero to find the minimum. Using the quotient rule,
I hope I got that right. Doing math on the internet is always dangerous.