\[G(\chi)\equiv\sum_{r=1}^{k-1}\chi(r)e^{2\pi ir/k}.\]