Assume that $z_1,z_2,...,z_n$ are roots of the equation $z^n+z^{n-1}+...+z+1=0$.
I was asked to compute the expressions $$A_1=\sum_{k=1}^{n}\frac{1}{(z_k-1)} ~~~~~~and~~~~~~A_2=\sum_{k=1}^{n}\frac{1}{(z_k-1)^2} $$ Then deduces $$B_2=\sum_{k=1}^n \cot^2\left( \frac{k\pi}{n+1}\right)$$
I managed with $A_1$ and proved that $$A_1=\sum_{k=1}^{n}\frac{1}{(z_k-1)}=-\frac{n}{2}$$ I used the fact that $$\frac{z^{n+1}-1}{z-1}=z^n+z^{n-1}+...+z+1$$
Actually I couldn't see an apparent link between $A_1$, $A_2$ and $B_2$. Can anyone help with $A_2$ and $B_2$. k