\(f\left(x\right)=x-\dfrac{1}{x}\Rightarrow f'\left(x\right)=1+\dfrac{1}{x^2}\); \(f''\left(x\right)=-\dfrac{2}{x^3}=\dfrac{\left(-1\right)^{2-1}.2!}{x^{2+1}}\) ;
\(f^{\left(3\right)}\left(x\right)=\dfrac{6}{x^4}=\dfrac{\left(-1\right)^{3-1}.3!}{x^{3+1}}\)
\(\Rightarrow f^{\left(n\right)}\left(x\right)=\dfrac{\left(-1\right)^{n-1}.n!}{x^{n+1}}\)