Dirichlet convolution refresher¶
Dirichlet convolution is a key “algebra” on arithmetic functions and shows up in many proofs and experiments. See [Apostol, 1976] and [Tenenbaum, 2015].
Definition¶
For arithmetic functions \(f,g:\mathbb{N}\to\mathbb{C}\), their Dirichlet convolution is
The function \(1(n)\equiv 1\) acts like an identity in many formulas, and the delta function \(\varepsilon(n)\) (with \(\varepsilon(1)=1\) and \(\varepsilon(n)=0\) for \(n>1\)) is the convolution identity:
Möbius inversion¶
If
then Möbius inversion says
This is one of the main reasons \(\mu(n)\) appears everywhere.
Classic identities¶
Sum of divisors:
where \(\mathrm{id}(n)=n\).\[ \sigma(n) = (1\ast \mathrm{id})(n), \]Totient:
\[ \varphi = \mu \ast \mathrm{id}. \]Jordan totient:
\[ J_k = \mu \ast \mathrm{id}^k. \]von Mangoldt:
in the sense of Dirichlet series / logarithmic derivatives of \(\zeta(s)\).\[ \Lambda = \mu \ast \log, \]
Dirichlet series viewpoint (why it’s computationally useful)¶
If \(F(s)=\sum_{n\ge 1} f(n)n^{-s}\) and \(G(s)=\sum_{n\ge 1} g(n)n^{-s}\) converge absolutely, then
This “turns convolution into multiplication” and underlies many analytic estimates; see [Montgomery and Vaughan, 2006].
Experiments in this repository¶
E102 — Dirichlet convolution identity zoo (μ1=ε, φ1=id, 11=τ, id1=σ, …).
E121 — Multiplicativity stress tests and convolution sanity checks (random coprime tests).