How to prove this equality, $log(O(5^{n})) = O(n)$?
If there was no big O notation in logarithm, my idea would be to take exponent $n$ and to put it in front of the algorithm, so we would get this:
$n\log(5) = O(n)$ which, if my thinking is right, is correct. We have constant $log(5)$ multiplying $n$, so we just need to find some $c$, for which:
$c\ n \geq n\ log(5)$.
So my problem is how to get rid of O notation in logarithm? What would be valid proof or explenation for this?