Gauss sum
the Quadratic Gauss sum is given by