If $1,A_1,A_2,A_3....A_{n-1}$ are the $n^{th}$ roots of unity then prove that $$\dfrac{1}{2-A_1} + \dfrac{1}{2-A_2}+\cdots+ \dfrac{1}{2-A_{n-1}} = \dfrac{2^{n-1}(n-2) + 1}{2^n-1}$$
What I did: I tried to use some of the following formulas: $$1+ A_1 +A_2+A_3+\cdots+A_{n-1} = 0$$
$$\dfrac{2^n - 1}{2-1} = (2 -A_1)(2-A_2)\cdots(2-A_{n-1})$$
and the fact that $|A_i| = 1$ for $i =1,2,3,\cdots,n-1$.