I need this result to compute a residue. I haven't been successful so far.
What I have tried: I have tried decomposing $\frac{1}{z^2 - z + 1} = \frac{A + Bi}{z - \omega} + \frac{C + Di}{z + \omega}$ where $\omega$ is the cube root of unity. I didn't get anything from this method.
Hint 1 Given that the degree of the polynomial is $2$, it is fundamental that
$$z^2-z+1=(z-\alpha)(z-\beta)$$
Hint 2
$$\left\{\begin{align*} &\alpha\beta=1\\ &\alpha+\beta=1 \end{align*}\right.$$
(Why?)
Hint 3
$$\frac{1}{(z-\alpha)(z-\beta)}= \frac{A}{(z-\alpha)}+\frac{B}{(z-\beta)}$$
for some $A$ and $B$.