Could you please explain how to get the poles of the complex function $f(z) =\frac{z}{1+z^n}$. I am computing the integral $\int_0^\infty \frac{dx}{1+x^n}$ by considering the complex integral $\int_C \frac{dz}{1+z^n}$ around an arc segment enclosing a single pole. In order to complete my answer, I need to find the residue, for which I need to know the location of the poles.
Thank you in advanced