Mobius Inversion Formula Derivation
📂Number TheoryMobius Inversion Formula Derivation
f and g are arithmetic functions and μ is the Möbius function.
f(n)=d∣n∑g(d)⟺g(n)=d∣n∑f(d)μ(dn)
Explanation
The Möbius function might seem unnatural at first glance, but it actually appears in the core formulas that permeate all arithmetic functions. An arbitrary arithmetic function g’s series can be expressed using the unit function u and convolution ∗ as g∗u, precisely because the inverse of u is μ, in other words, I=μ∗ u.
Strategy: u is the unit function and I is the identity. The series relationship of arithmetic functions with convolution can be easily derived.
Derivation
(⇒)
f(n)=d∣n∑g(d)=d∣n∑g(d)u(dn)
can be expressed as a convolution product, which is f=g∗ u.
Möbius series:
I(n)=d∣n∑μ(d)=d∣n∑μ(d)u(dn)
Likewise, the Möbius series expressed as a convolution product is I=μ∗ u therefore
f∗ μ====(g∗ u)∗ μg∗ (u∗ μ)g∗ Ig
(⇐)
⟹⟹⟹⟹f∗ μ=gf∗ μ∗ u=g∗ uf∗ I=g∗ uf=g∗ uf(n)=d∣n∑g(d)u(dn)=d∣n∑g(d)
■