Gauss sum
Here is the Legendre symbol, which is a quadratic character modulo . An analogous formula with a general character in place of the Legendre symbol defines the Gauss sum .