\[\chi\left(n\right)=\frac{G\left(1,\chi\right)}{k}\sum_{m=1}^{k}\overline{\chi}%
(m)e^{-2\pi\mathrm{i}mn/k}.\]