I have this equation:
$$g_k(z)=\frac{z^6+1}{z-z_k}=\sum\limits_{i=0}^{5} z_k^iz^{5-i}$$
$z_k$ are the singularities of $f(z)=\frac{1}{z^6+1}$ with $k=0,..,5$. Afterwards I want to determine the residues of this function to compute the integral $$I=\frac{1}{2}\int\limits_{-\infty}^{+\infty} \frac{dx}{x^6+1}$$
I only need help to understand the equation above. Thanks for your help!
As $z_k^6=-1$, you get $$ z^6+1=z^6-z_k^6=(z-z_k)(z^5+z^4z_k+…+zz_k^4+z_k^5) $$ as in the binomial theorems or geometric sums.
Note that also $$ z^6+1=(z^2+1)(z^4-z^2+1)=(z^2+1)((z^2+1)^2-3z^2) \\ =(z^2+1)(z^2+\sqrt3z+1)(z^2-\sqrt3z+1) $$ which allows to compute the integral using partial fraction decomposition and the arcus tangent.