Skip to main content
2 of 2
Fixed the formatting (missing dollar sign)
Joe Silverman
  • 47.4k
  • 2
  • 149
  • 241

You are looking at the sum of $m$-th powers of the imaginary parts of $n$-th roots of $-1.$ First, note that these can be expressed as polynomials in elementary symmetric functions (of the imaginary parts), so you just need to find the polynomial of which they are roots. Writing $$(x+i y)^n +1 = 0,$$ you get two equations, in $x$ and $y,$ eliminate $x$ and you will get the polynomial you want.

Igor Rivin
  • 96.4k
  • 11
  • 153
  • 366