Appendix
Möbius function
Let n be an integer ≥1. If n is divisible by the square of a prime number, we write μ(n)=0. If n is not divisible by the square of a prime number, we write μ(n)=(−1)k, where k is the number of prime divisors of n. The function μ:N∗→{−1,0,1} thus defined is called the Möbius function.
Recall that given two integers n1≥1,n2≥1, we write n1∣n2 if n1 divides n2.
Proposition
(i) The function μ is the unique mapping of N∗ into Z such that μ(1)=1 and
d∣n∑μ(d)=0 *for every integer
n>1.
(ii) Let s and t be two mappings of N∗ into a commutative group written additively. In order that
s(n)=d∣n∑t(d)for every integer n≥1, it is necessary and sufficient that t(n)=d∣n∑μ(d)s(dn)for every integer n≥1.
The uniqueness assertion in (i) is obvious, for (1) allows us to determine μ(n) by induction on n. We show that the function μ satisfies (1). Let n be an integer >1. Let P be the set of prime divisors of n and let n=∏p∈Ppνp(n) be the decomposition of n into prime factors. If d is a divisor of n, then μ(d)=0 unless d is of the form ∏p∈Hp, where H is a subset of P. Then
d∣n∑μ(d)=H⊂P∑(−1)Card H=k=0∑Card P(kn)(−1)k=(1−1)Card P=0.
Let s and t be two mapping of N∗ into a commutative group written additively. Let n∈N∗. If (2) holds, then
d∣n∑μ(d)s(dn)=d∣n∑μ(d)δ∣(n/d)∑t(δ)=d∣n∑μ(d)t(δ) =δ∣n∑t(δ)d∣(n/δ)∑μ(d)=t(n). Conversely, if (3) holds, then
d∣n∑t(d)=d∣n∑δ∣d∑μ(δ)s(δd)=d∣n∑s(d)δ∣(n/d)∑μ(δ)=s(n), which completes the proof.
Formula (3) is called the Möbius inversion formula.
Exercises
See the exercises for Appendix 0.