\prod_{k=1}^{n-1} (\xi^k+1)=\prod_{k=1}^{n-1} (\exp(2ik\pi/n)+1)=\frac{1-(-1)^n}{2(-1)^{n-1}}