Möbius Inversion
[6/100%]The notation denotes the sum over all positive divisors of .
Define the Möbius function as follows:
Find the sum of the values of the Möbius function over exactly those divisors of whose canonical factorization contains an even number of prime factors.
The Möbius inversion formula. Let be an arbitrary function, and let . Then the following formula holds:
Euler's totient function is defined in Sec.1.2 (Problem 1.2.1).
Find the sum .
.
Note that by applying the Möbius inversion formula (Problem 1.5.1(3)) to the function , one can prove the formula for in a slightly different way (see Statement 1.2.1(3)).
Indeed, using Statements 1.5.2(1, 2), we obtain:
Denote by the number of ways to color a carousel of cars in colors, i.e. the number of colorings of the vertices of a regular -gon in colors, where colorings that coincide after a rotation are considered indistinguishable. Here
-
a coloring need not use all the colors;
-
the colors are distinguishable: for example, the colorings RRRY and YYYR are different.
Let us give a more formal definition. For any coloring of a carousel, one can ``break'' the carousel between any two cars and write down the resulting sequence of colors (a coloring of a train), starting from the break point and going clockwise. For example, the following sequences correspond to the same coloring of a carousel:
On the other hand, from every sequence of colors one can obtain a coloring of a carousel by ``gluing'' its beginning and end in the proper way.
The cyclic shift of a sequence is the sequence . A coloring of a carousel (or, in more learned terms, a cyclic sequence) is an equivalence class of sequences up to cyclic shift.
Thus, is the number of cyclic sequences of length whose elements are the numbers .
Find for .
.
The period of a sequence is the smallest positive integer such that cyclic shifts map the sequence to itself. The period of a carousel is defined similarly.
The period of a sequence divides its length.
If divides , then the number of sequences of length and period equals the number of sequences of length and period .
Denote by the number of sequences of length and period whose elements are the numbers .
Find .
Express in terms of all , where .
.
. (A simpler proof of this formula is given in Sec.1.9, Problem 1.9.4(1).)
Find the number of distinct colorings of a carousel of cars in colors in which
color occurs times for each (here a formula with summation over divisors, analogous to 1.5.5(3), is accepted as an answer);
exactly 4 of the given colors are present.