encyclopegia.org

Mertens function

In number theory, the Mertens function is defined for all positive integers n as : M(n) = \sum_{k=1}^n \mu(k), where \mu(k) is the Möbius function. The function is named in honour of Franz Mertens. This definition can be extended to positive real numbers as follows: : M(x) = M(\lfloor x \rfloor). Less formally, M(x) is the count of square-free integers up to x that have an even number of prime factors, minus the count of those that have an odd number. The first 143 M(n) values are The Mertens function slowly grows in positive and negative directions both on average and in peak value, oscillating in an apparently chaotic manner passing through zero when n has the values :2, 39, 40, 58, 65, 93, 101, 145, 149, 150, 159, 160, 163, 164, 166, 214, 231, 232, 235, 236, 238, 254, 329, 331, 332, 333, 353, 355, 356, 358, 362, 363, 364, 366, 393, 401, 403, 404, 405, 407, 408, 413, 414, 419, 420, 422, 423, 424, 425, 427, 428, ... . Because the Möbius function only takes the values −1, 0, and +1, the Mertens function moves slowly, and there is no x such that |M(x)| > x. H. Davenport demonstrated that, for any fixed h, : \sum_{n=1}^{x}\mu(n)\exp(i2\pi n\theta) = O\left(\frac{x}{\log^hx}\right) uniformly in \theta . This implies, for \theta=0 that : M(x) = O\left(\frac{x}{\log^hx}\right)\ .…

In number theory, the Mertens function is defined for all positive integers n as M(n) = \sum_{k=1}^n \mu(k), where \mu(k) is the Möbius function. The function is named in honour of Franz Mertens. This definition can be extended to positive real numbers as follows: M(x) = M(\lfloor x \rfloor). Less formally, M(x) is the count of square-free integers up to x that have an even number of prime factors, minus the count of those that have an odd number. The first 143 M(n) values are The Mertens function slowly grows in positive and negative directions both on average and in peak value, oscillating in an apparently chaotic manner passing through zero when n has the values 2, 39, 40, 58, 65, 93, 101, 145, 149, 150, 159, 160, 163, 164, 166, 214, 231, 232, 235, 236, 238, 254, 329, 331, 332, 333, 353, 355, 356, 358, 362, 363, 364, 366, 393, 401, 403, 404, 405, 407, 408, 413, 414, 419, 420, 422, 423, 424, 425, 427, 428, ... . Because the Möbius function only takes the values −1, 0, and +1, the Mertens function moves slowly, and there is no x such that |M(x)| > x. H. Davenport demonstrated that, for any fixed h, \sum_{n=1}^{x}\mu(n)\exp(i2\pi n\theta) = O\left(\frac{x}{\log^hx}\right) uniformly in \theta . This implies, for \theta=0 that M(x) = O\left(\frac{x}{\log^hx}\right)\ . The Mertens conjecture went further, stating that there would be no x where the absolute value of the Mertens function exceeds the square root of x. The Mertens conjecture was proven false in 1985 by Andrew Odlyzko and Herman te Riele. However, the Riemann hypothesis is equivalent to a weaker conjecture on the growth of M(x), namely M(x) = O(x 1/2 + ε ). Since high values for M(x) grow at least as fast as \sqrt{x} , this puts a rather tight bound on its rate of growth. Here, O refers to big O notation. The true rate of growth of M(x) is not known. An unpublished conjecture of Steve Gonek states that 0 Probabilistic evidence towards this conjecture is given by Nathan Ng. In particular, Ng gives a conditional proof that the function e^{-y/2} M(e^y) has a limiting distribution \nu on \mathbb{R} . That is, for all bounded Lipschitz continuous functions f on the reals we have that \lim_{Y\to\infty} \frac{1}{Y} \int_0^Y f\big(e^{-y/2} M(e^y)\big) \,dy = \int_{-\infty}^\infty f(x) \,d\nu(x), if one assumes various conjectures about the Riemann zeta function. ==Representations== ===As an integral=== Using the Euler product, one finds that \frac{1}{\zeta(s)} = \prod_p (1 - p^{-s}) = \sum_{n=1}^\infty \frac{\mu(n)}{n^s}, where \zeta(s) is the Riemann zeta function, and the product is taken over primes. Then, using this Dirichlet series with Perron's formula, one obtains \frac{1}{2\pi i} \int_{c-i\infty}^{c+i\infty} \frac{x^s}{s \zeta(s)} \, ds = M(x), where c > 1. Conversely, one has the Mellin transform \frac{1}{\zeta(s)} = s \int_1^\infty \frac{M(x)}{x^{s+1}}\,dx, which holds for \operatorname{Re}(s) > 1 . A curious relation given by Mertens himself involving the second Chebyshev function is \psi(x) = M\left( \frac{x}{2} \right) \log 2 + M \left( \frac{x}{3} \right) \log 3 + M \left( \frac{x}{4}\right ) \log 4 + \cdots. Assuming that the Riemann zeta function has no multiple non-trivial zeros, one has the "exact formula" by the residue theorem: M(x) = \sum_\rho \frac{x^\rho}{\rho \zeta'(\rho)} - 2 + \sum_{n=1}^\infty \frac{ (-1)^{n-1} (2\pi)^{2n}}{(2n)! n \zeta(2n + 1) x^{2n}}. Hermann Weyl conjectured that the Mertens function satisfied the approximate functional-differential equation \frac{y(x)}{2} - \sum_{r=1}^N \frac{B_{2r}}{(2r)!} D_t^{2r-1} y \left(\frac{x}{t + 1}\right) + x \int_0^x \frac{y(u)}{u^2} \, du = x^{-1} H(\log x), where H(x) is the Heaviside step function, B are Bernoulli numbers, and all derivatives with respect to t are evaluated at t = 0. There is also a trace formula involving a sum over the Möbius function and zeros of the Riemann zeta function in the form \sum_{n=1}^\infty \frac{\mu(n)}{\sqrt{n}} g(\log n) = \sum_\gamma \frac{h(\gamma)}{\zeta'(1/2 + i\gamma)} + 2 \sum_{n=1}^\infty \frac{ (-1)^n (2\pi)^{2n}}{(2n)! \zeta(2n + 1)} \int_{-\infty}^\infty g(x) e^{-x(2n+1/2)} \, dx, where the first sum on the right-hand side is taken over the non-trivial zeros of the Riemann zeta function, and (g, h) are related by the Fourier transform, such that 2 \pi g(x) = \int_{-\infty}^\infty h(u) e^{iux} \, du. ===As a sum over Farey sequences=== Another formula for the Mertens function is M(n) = -1 + \sum_{a\in\mathcal{F}_n} e^{2\pi i a}, where \mathcal{F}_n is the Farey sequence of order n. This formula is used in the proof of the Franel–Landau theorem. ===As a determinant=== M(n) is the determinant of the n × n Redheffer matrix, a (0, 1) matrix in which a ij is 1 if either j is 1 or i divides j. ===As a sum of the number of points under n-dimensional hyperboloids=== M(x) = 1 - \sum_{2 \leq a \leq x} 1 + \underset{ab \leq x}{\sum_{a \geq 2} \sum_{b \geq 2}} 1 - \underset{abc \leq x}{\sum_{a \geq 2} \sum_{b \geq 2} \sum_{c \geq 2}} 1 + \underset{abcd \leq x}{\sum_{a \geq 2} \sum_{b \geq 2} \sum_{c \geq 2} \sum_{d \geq 2}} 1 - \cdots This formulation expanding the Mertens function suggests asymptotic bounds obtained by considering the Piltz divisor problem, which generalizes the Dirichlet divisor problem of computing asymptotic estimates for the summatory function of the divisor function. \sum_{d=1}^{n} M(n/d) = 1\ . Furthermore, from \sum_{d=1}^{n} M(n/d)d = \Phi(n)\ , where \Phi(n) is the totient summatory function. ==Known upper bounds== Ng notes that the Riemann hypothesis (RH) is equivalent to M(x) = O\left(\sqrt{x} \exp\left(\frac{C \cdot \log x}{\log\log x}\right)\right), for some positive constant C>0 . Other upper bounds have been obtained by Maier, Montgomery, and Soundarajan assuming the RH including \begin{align} |M(x)| & \ll \sqrt{x} \exp\left(C_2 \cdot (\log x)^{\frac{39}{61}}\right) \\ |M(x)| & \ll \sqrt{x} \exp\left(\sqrt{\log x} (\log\log x)^{14}\right). \end{align} Known explicit upper bounds without assuming the RH are given by: \begin{align} |M(x)| & \exp(12282.3) \\ |M(x)| & 1 . \end{align} It is possible to simplify the above expression into a less restrictive but illustrative form as: \begin{align} M(x)= O \left( \frac{x}{\log^{\pi}(x)} \right) . \end{align} ==See also== Perron's formula Liouville's function ==Notes==

References

No reference rows published for this article.

Cite this article

MLA

"Mertens function." encyclopegia.org, 2026, https://encyclopegia.org/wiki/mertens-function. Accessed 24 November 2026.

Chicago

"Mertens function." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/mertens-function.

APA

encyclopegia.org. (2026). Mertens function. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/mertens-function

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1364928496 · 0.5 · snapshot enwiki-001364928496

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.