Exercise

Consider f = Xn + 1 Q[X]. For which positive integers n is Q[X]/(f) a monoid?