]> Number Theory - Möbius Inversion

Möbius Inversion

Suppose for some (not necessarily multiplicative) number-theoretic function f

F(n)= dnf(d).

Can we make f(n) the subject of this equation?

We'll see that we can find a function μ such that

f(n)= dnμ(n/d)F(d)= dnμ(d)F(n/d).

and we call this process Möbius inversion. Note we have

dnμ(d)F(n/d) = dnμ(d) rndf(r) = drnμ(d)f(r) = rnf(r) d(n/r)μ(d)

If we want this equal to f(n) we need μ to satisfy

dmμ(d)={0 , m>1 1 , m=1

A little thought leads to this unique solution, known as the Möbius function:

μ(n)={1 n=1 0 p 2 n for some prime p (1 ) r n=p 1 ...p r for distinct primes p i

Notice μ is multiplicative, which implies f(n) is multiplicative if F(n) is. In summary,

Theorem:

F(n)= dnf(d)

if and only if

f(n)= dnμ(n/d)F(d)

and f(n) is multiplicative if and only if F(n) is multiplicative.

Example: From before n= dnϕ(n). Write n=p 1 k 1 ...p m k m. Then

ϕ(n) = dnμ(d)nd = n dnμ(d)1 d = n(1 i1 p i+ ij1 p ip j...) = n(1 1 p 1 )...(1 1 p m)

which is another way to derive the formula for ϕ.

Gauss encountered the Möbius function over 30 years before Möbius when he showed that the sum of the generators of p * is μ(p1 ). More generally, if n * has a generator, then the sum of all the generators of n * is μ(ϕ(n)). This can be seen by considering the sums of the roots of polynomials of the form x d1 where dϕ(n).