I wonder how to find summation for $\displaystyle \sum_{k=0}^{n-1}(\cos{\frac{2\pi k}{n}+i \sin\frac{2\pi k}{n}})$
and the same for product $\displaystyle \prod_{k=0}^{n-1}(cos{\frac{2\pi k}{n}+i \sin\frac{2\pi k}{n}})$
I know that sum is equal to $0$ and product to $(-1)^{n+1}$ but have no idea how to show it
Hint: Those are roots of unity. That is, they are roots of the equation: $$x^n-1=0$$ So use Vieta.