Can anyone help me to understand this?
$$\log_2 n = \log_2e \log n$$
Can anyone help me to understand this?
$$\log_2 n = \log_2e \log n$$
$\log_r(n)$ is the number such that $r^{\log_r(n)} = n$. Taking the $\log_s$ on both sides we have that $$ \log_s\left(r^{\log_r(n)}\right) = \log_s(n) \implies \log_r(n) \log_s(r) = \log_s(n). $$ In your case, let $s = 2$ and $ r = e $.