\(\lim\left(1+\dfrac{-1}{2^n}\right)=1+0=1\Rightarrow a=1\)
\(\lim\left(\dfrac{n^5}{n^4-2n^3+1}-n\right)=\lim\left(\dfrac{n^5-n\left(n^4-2n^3+1\right)}{n^4-2n^3+1}\right)\)
\(=\lim\left(\dfrac{2n^4-n}{n^4-2n^3+1}\right)=\lim\left(\dfrac{2-\dfrac{1}{n^3}}{1-\dfrac{2}{n}+\dfrac{1}{n^4}}\right)=2\)