Gauss sum
If is not divisible by , an alternative expression for the Gauss sum (which can be found by evaluating