Mertens function


In number theory, the Mertens function is defined for all positive integers n as
where 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:
Less formally, 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 values are
M+0+1+2+3+4+5+6+7+8+9+10+11
0+10−1−1−2−1−2−2−2−1−2
12+−2−3−2−1−1−2−2−3−3−2−1−2
24+−2−2−1−1−1−2−3−4−4−3−2−1
36+−1−2−100−1−2−3−3−3−2−3
48+−3−3−3−2−2−3−3−2−2−10−1
60+−1−2−1−1−10−1−2−2−1−2−3
72+−3−4−3−3−3−2−3−4−4−4−3−4
84+−4−3−2−1−1−2−2−1−1012
96+211110−1−2−2−3−2−3
108+−3−4−5−4−4−5−6−5−5−5−4−3
120+−3−3−2−1−1−1−1−2−2−1−2−3
132+−3−2−1−1−1−2−3−4−4−3−2−1

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
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.
H. Davenport demonstrated that, for any fixed h,
uniformly in. This implies, for that
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, namely M = O. Since high values for M grow at least as fast as, 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 is not known. An unpublished conjecture of Steve Gonek states that
Probabilistic evidence towards this conjecture is given by Nathan Ng. In particular, Ng gives a conditional proof that the function has a limiting distribution on. That is, for all bounded Lipschitz continuous functions on the reals we have that
if one assumes various conjectures about the Riemann zeta function.

Representations

As an integral

Using the Euler product, one finds that
where is the Riemann zeta function, and the product is taken over primes. Then, using this Dirichlet series with Perron's formula, one obtains
where c > 1.
Conversely, one has the Mellin transform
which holds for.
A curious relation given by Mertens himself involving the second Chebyshev function is
Assuming that the Riemann zeta function has no multiple non-trivial zeros, one has the "exact formula" by the residue theorem:
Weyl conjectured that the Mertens function satisfied the approximate functional-differential equation
where H 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
where the first sum on the right-hand side is taken over the non-trivial zeros of the Riemann zeta function, and are related by the Fourier transform, such that

As a sum over Farey sequences

Another formula for the Mertens function is
where is the Farey sequence of order n.
This formula is used in the proof of the Franel–Landau theorem.

As a determinant

M is the determinant of the n × n Redheffer matrix, a (0, 1) matrix in which
aij is 1 if either j is 1 or i divides j.

As a sum of the number of points under ''n''-dimensional hyperboloids

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.

Other properties

From we have
Furthermore, from
where is the totient summatory function.

Calculation

Neither of the methods mentioned previously leads to practical algorithms to calculate the Mertens function.
Using sieve methods similar to those used in prime counting, the Mertens function has been computed for all integers up to an increasing range of x.
PersonYearLimit
Mertens1897104
von Sterneck18971.5
von Sterneck19015
von Sterneck19125
Neubauer1963108
Cohen and Dress19797.8
Dress19931012
Lioen and van de Lune19941013
Kotnik and van de Lune20031014
Boncompagni20111017
Kuznetsov20121022
Helfgott and Thompson20211023

The Mertens function for all integer values up to x may be computed in time. A combinatorial algorithm has been developed incrementally starting in 1870 by Ernst Meissel, Lehmer, Lagarias-Miller-Odlyzko, and Deléglise-Rivat that computes isolated values of M in time; a further improvement by Harald Helfgott and Lola Thompson in 2021 improves this to, and an algorithm by Lagarias and Odlyzko based on integrals of the Riemann zeta function achieves a running time of.
See for values of M at powers of 10.

Known upper bounds

Ng notes that the Riemann hypothesis is equivalent to
for some positive constant. Other upper bounds have been obtained by Maier, Montgomery, and Soundarajan assuming the RH including
Known explicit upper bounds without assuming the RH are given by:
It is possible to simplify the above expression into a less restrictive but illustrative form as: