# Character sum

In mathematics, a character sum is a sum ${\textstyle \sum \chi (n)}$ of values of a Dirichlet character χ modulo N, taken over a given range of values of n. Such sums are basic in a number of questions, for example in the distribution of quadratic residues, and in particular in the classical question of finding an upper bound for the least quadratic non-residue modulo N. Character sums are often closely linked to exponential sums by the Gauss sums (this is like a finite Mellin transform).

Assume χ is a nonprincipal Dirichlet character to the modulus N.

## Sums over ranges

The sum taken over all residue classes mod N is then zero. This means that the cases of interest will be sums ${\displaystyle \Sigma }$ over relatively short ranges, of length R < N say,

${\displaystyle M\leq n

A fundamental improvement on the trivial estimate ${\displaystyle \Sigma =O(N)}$ is the Pólya–Vinogradov inequality (George Pólya, I. M. Vinogradov, independently in 1918), stating in big O notation that

${\displaystyle \Sigma =O({\sqrt {N}}\log N).}$

Assuming the generalized Riemann hypothesis, Hugh Montgomery and R. C. Vaughan have shown[1] that there is the further improvement

${\displaystyle \Sigma =O({\sqrt {N}}\log \log N).}$

## Summing polynomials

Another significant type of character sum is that formed by

${\displaystyle \sum \chi (F(n))}$

for some function F, generally a polynomial. A classical result is the case of a quadratic, for example,

${\displaystyle F(n)=n(n+1)}$

and χ a Legendre symbol. Here the sum can be evaluated (as −1), a result that is connected to the local zeta-function of a conic section.

More generally, such sums for the Jacobi symbol relate to local zeta-functions of elliptic curves and hyperelliptic curves; this means that by means of André Weil's results, for N = p a prime number, there are non-trivial bounds

${\displaystyle O({\sqrt {p}}).}$

The constant implicit in the notation is linear in the genus of the curve in question, and so (Legendre symbol or hyperelliptic case) can be taken as the degree of F. (More general results, for other values of N, can be obtained starting from there.)

Weil's results also led to the Burgess bound,[2] applying to give non-trivial results beyond Pólya–Vinogradov, for R a power of N greater than 1/4.

Assume the modulus N is a prime.

{\displaystyle {\begin{aligned}\Sigma &\ll p^{1/2}\log p,\\[6pt]\Sigma &\ll 2R^{1/2}p^{3/16}\log p,\\[6pt]\Sigma &\ll rR^{1-1/r}p^{(r+1)/4r^{2}}(\log p)^{1/2r}\end{aligned}}}

for any integer r ≥ 3.[3]

## Notes

1. ^ Montgomery and Vaughan (1977)
2. ^ Burgess (1957)
3. ^ Montgomery and Vaughan (2007), p.315

## References

• G. Pólya (1918). "Ueber die Verteilung der quadratischen Reste und Nichtreste". Nachr. Akad. Wiss. Goettingen: 21–29. JFM 46.0265.02. CS1 maint: discouraged parameter (link)
• I. M. Vinogradov (1918). "Sur la distribution des residus and nonresidus des puissances". J. Soc. Phys. Math. Univ. Permi: 18–28. JFM 48.1352.04. CS1 maint: discouraged parameter (link)
• D. A. Burgess (1957). "The distribution of quadratic residues and non-residues". Mathematika. 4 (02): 106–112. doi:10.1112/S0025579300001157. Zbl 0081.27101.
• Hugh L. Montgomery; Robert C. Vaughan (1977). "Exponential sums with multiplicative coefficients" (PDF). Invent. Math. 43 (1): 69–82. doi:10.1007/BF01390204. hdl:2027.42/46603. Zbl 0362.10036. CS1 maint: discouraged parameter (link)
• Hugh L. Montgomery; Robert C. Vaughan (2007). Multiplicative number theory I. Classical theory. Cambridge tracts in advanced mathematics. 97. Cambridge University Press. pp. 306–325. ISBN 0-521-84903-9. Zbl 1142.11001. CS1 maint: discouraged parameter (link)