Möbius Inversion on Divisors
Möbius inversion recovers a function from its sums over divisors. The key cancellation is a product over distinct prime factors.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 1
- Reading time
- 1 min
The Möbius function satisfies \(\mu(n)=0\) if a prime square divides \(n\), and \(\mu(n)=(-1)^r\) for a product of \(r\) distinct primes. Therefore \(\sum_{d\mid n}\mu(d)\) equals \((1-1)^r=0\) for \(n>1\), and equals \(1\) at \(n=1\).
\[F(n)=\sum_{d\mid n}f(d)\quad\Longrightarrow\quad f(n)=\sum_{d\mid n}\mu(d)F(n/d).\]
Recovering the totient
Grouping fractions \(1/n,\ldots,n/n\) by their denominator in lowest terms gives \(\sum_{d\mid n}\varphi(d)=n\). Inverting yields \(\varphi(12)=12-6-4+2=4\). A wider version works on partially ordered sets, where \(\mu\) is the inverse of the incidence function.[1]