Ojala, Timo. “Sums of Roots of Unity”. Mathematica Scandinavica, vol. 37, Dec. 1975, pp. 83-101, https://doi.org/10.7146/math.scand.a-11590.