In mathematics, the Riemann zeta function is an important function in number theory. It is related to the distribution of prime numbers. It also has uses in other areas such as physics, probability theory, and applied statistics. It is named after the German mathematician Bernhard Riemann, who wrote about it in the memoir "", published in 1859.