高斯和
the Quadratic Gauss sum is given by