Logarithms with different bases