I am struggling with logarithms and their computation when it comes to computing time complexity.
I have a simple complexity: $\frac{1}{n^{\lg (n)}}$, where the logarithm base is 2. How can I reduce this to some simplier form? I know that the answer is 2 but I was unable to see why?
I know I can begin the reduction like this (please, correct me, if I am wrong):
$\frac{1}{n^{\lg (n)}} = 2^{\lg\frac{1}{n^{\lg (n)}}} = 2^{\lg (1) - \lg(\lg(n^{\lg (n)}))}$ ... but I do not know how to do the next step.. Thanks for any help!