Lably
Skip to content

Möbius inversion formula

Relation between pairs of arithmetic functions

  • 6 min read
  • 8 chapters

Related on Lably

Through Mathematics, Divisor and Euler's totient function

A large generalization of this formula applies to summation over an arbitrary locally finite partially ordered set, with Möbius' classical formula applying to the set of the natural numbers ordered by divisibility: see incidence algebra.

Statement of the formula

The classic version states that if g and f are arithmetic functions satisfying

g(n)=∑d∣nf(d)for every integer n≥1

then

f(n)=∑d∣nμ(d)g(nd)for every integer n≥1

where μ is the Möbius function and the sums extend over all positive divisors d of n (indicated by d∣n in the above formulae). In effect, the original f(n) can be determined given g(n) by using the inversion formula. The two sequences are said to be Möbius transforms of each other.

The formula is also correct if f and g are functions from the positive integers into some abelian group (viewed as a Z-module).

In the language of Dirichlet convolutions, the first formula may be written as

g=1∗f

where ∗ denotes the Dirichlet convolution, and 1 is the constant function 1(n) = 1. The second formula is then written as

f=μ∗g.

Many specific examples are given in the article on multiplicative functions.

The theorem follows because ∗ is (commutative and) associative, and 1 ∗ μ = ε, where ε is the identity function for the Dirichlet convolution, taking values ε(1) = 1, ε(n) = 0 for all n > 1. Thus

μ∗g=μ∗(1∗f)=(μ∗1)∗f=ε∗f=f.

Replacing f,g by ln⁡f,ln⁡g, we obtain the product version of the Möbius inversion formula:

g(n)=∏d|nf(d)⟺f(n)=∏d|ng(nd)μ(d),∀n≥1.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Number theory