Möbius function \(\mu(n)\) and Mertens function \(M(x)\) refresher¶
The Möbius function \(\mu(n)\) is the main tool for inversion over divisors. The Mertens function \(M(x)=\sum_{n\le x}\mu(n)\) is a classic “oscillatory” summatory function. See [Apostol, 1976], [Tenenbaum, 2015].
Möbius function¶
Define \(\mu(1)=1\). For \(n>1\):
\(\mu(n)=0\) if \(n\) is divisible by the square of a prime (not squarefree)
otherwise \(\mu(n)=(-1)^k\) where \(k\) is the number of distinct prime factors of \(n\)
So for squarefree \(n=p_1p_2\cdots p_k\),
Möbius inversion (most important identity)¶
If
then
Mertens function and a famous counterexample¶
The Mertens function is
A historic conjecture was \(|M(x)|<\sqrt{x}\) for all \(x\ge 1\) (the Mertens conjecture). It was disproved by Odlyzko and te Riele. [Odlyzko and te Riele, 1985]
Why \(M(x)\) is experiment-friendly¶
\(M(x)\) exhibits sign changes and irregular growth (“random walk-like” behavior).
It is deeply connected to the Riemann zeta function and the Riemann hypothesis.
Typical experiment: plot \(M(x)\) for growing \(x\) and compare to envelopes like \(\pm \sqrt{x}\) or \(\pm x^{1/2}\log x\).
Experiments in this repository¶
E105 — Mertens function M(x) at multiple scales (including rescaling views).