Section 23.1 The Moebius Function
Subsection 23.1.1 Möbius mu
Let's define the function which gives the numerator associated with denominatorDefinition 23.1.1. Moebius mu.
Let
The product is over prime factors of
Historical remark 23.1.2. August Möbius.
Yes, this is the same August Moebius (or Möbius) as the Moebius strip; however, it was not he, but Johann Listing who first discovered that object. On the other hand, his work with this function and the Möbius Inversion Formula has stood the test of time. A student of Gauss, Möbius' positions were mostly directorships of major observatories and professor of astronomy. See [E.7.26] for some historical details of the function, including Euler's discovery of the same general idea via infinite products.
Example 23.1.3.
Using the example in the chapter introduction,
implies that
Subsection 23.1.2 A formula
Before describing this function further, let's think more about the productFirst, as the comment at the end of the last subsection points out, it seems to create denominators with each prime factor to just the first power. We couldn't get a square or cube of any given
in the denominator.Similarly, the numerators really can only be products of
and For a moment, think about why there are no other numerators available.Finally, the number of prime factors in the denominator should be the same as the number of times
is part of the product in the numerator.
Proposition 23.1.4.
If
Proof.
See above.
Subsection 23.1.3 Another definition
The
Proposition 23.1.5. Recursive definition of .
We can define
Proof.
Let's rewrite the sum \(\sum_{d\mid n}\mu(d)=0\) by trying to omit the \(\mu(d)\) that equal zero. If we do this, the sum reduces to the long, but correct,
Now let's set up a little notation. First, let's borrow from Definition 23.3.3 the notation \(\omega(d)\) for the number of distinct prime divisors of a divisor \(d\) of \(n\text{.}\) Next, for convenience we will write \(k=\omega(n)\) for the number of (again, distinct) prime divisors of \(n\) itself.
Then the crazy sum \(\sum_{d\mid n}\mu(d)\) becomes easier to write:
If at this point you are asking yourself why I bothered introducing \(k\text{,}\) you may want to think about that briefly while reading the next formula:
Note that \((k-\omega(d))+\omega(d)=k\text{.}\)
Let's step back for a rationale for all this manipulation. Consider each of the divisors \(d\) with no square factors (the ones in question that we are indexing by). Each of these have \(\omega(d)\) of the prime factors of \(n\text{;}\) that means that they do not have the other \(k-\omega(d)\) possible prime factors available to us from \(n\text{.}\) So in the expression \((1)^{k-\omega(d)}(-1)^{\omega(d)}\) we are, in some sense, picking a subset (of size \(\omega(d)\)) of the primes dividing \(n\) and multiplying by \(1\) for each of those; likewise we multiply by \(-1\) for each possible prime not picked.
This is a combinatorial point of view, which means we can count all this picking another way. Instead, consider just picking a subset of \(\{1,2,\ldots,k\}\) and assigning \(\pm 1\) respectively; that would be the same thing. However, we can reinterpret that as picking a particular term in the full expansion of the \(k\)th power of the binomial \(1+(-1)\text{:}\)
Summing all the possible terms must be the same as calculating this power, so an easy computation finishes the proof:
Sage note 23.1.6. Check your work again.
Remember, we can always check calculations like this with our computational assistant.
xxxxxxxxxx
moebius(30) + moebius(15) + moebius(10) + moebius(6) + moebius(5) + moebius(3) + moebius(2) + moebius(1)
Fact 23.1.7.
The function
Proof.
We will postpone a formal proof of this to a much bigger theorem, from which this result (Corollary 23.4.15) will fall “for free”.
xxxxxxxxxx
print(gcd(111,41))
print(moebius(111)*moebius(41)==moebius(41*111))