\[f(x)=\sum_{s=0}^{n-1}a_{s}x^{-s}+O\left(x^{-n}\right)\]