HOME

TheInfoList



OR:

The Möbius function \mu(n) is a
multiplicative function In number theory, a multiplicative function is an arithmetic function f of a positive integer n with the property that f(1)=1 and f(ab) = f(a)f(b) whenever a and b are coprime. An arithmetic function is said to be completely multiplicative (o ...
in
number theory Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
introduced by the German mathematician
August Ferdinand Möbius August Ferdinand Möbius (, ; ; 17 November 1790 – 26 September 1868) was a German mathematician and theoretical astronomer. Life and education Möbius was born in Schulpforta, Electorate of Saxony, and was descended on his mothe ...
(also transliterated ''Moebius'') in 1832. It is ubiquitous in elementary and
analytic number theory In mathematics, analytic number theory is a branch of number theory that uses methods from mathematical analysis to solve problems about the integers. It is often said to have begun with Peter Gustav Lejeune Dirichlet's 1837 introduction of Dir ...
and most often appears as part of its namesake the
Möbius inversion formula In mathematics, the classic Möbius inversion formula is a relation between pairs of arithmetic functions, each defined from the other by sums over divisors. It was introduced into number theory in 1832 by August Ferdinand Möbius. A large genera ...
. Following work of
Gian-Carlo Rota Gian-Carlo Rota (April 27, 1932 – April 18, 1999) was an Italian-American mathematician and philosopher. He spent most of his career at the Massachusetts Institute of Technology, where he worked in combinatorics, functional analysis, proba ...
in the 1960s, generalizations of the Möbius function were introduced into combinatorics, and are similarly denoted \mu(x).


Definition

The Möbius function is defined by :\mu(n) = \begin 1 & \text n = 1 \\ (-1)^k & \text n \text k \text \\ 0 & \text n \text > 1 \end The Möbius function can alternatively be represented as : \mu(n) = \delta_ \lambda(n), where \delta_ is the
Kronecker delta In mathematics, the Kronecker delta (named after Leopold Kronecker) is a function of two variables, usually just non-negative integers. The function is 1 if the variables are equal, and 0 otherwise: \delta_ = \begin 0 &\text i \neq j, \\ 1 &\ ...
, \lambda(n) is the Liouville function, \omega(n) is the number of distinct prime divisors of n, and \Omega(n) is the number of prime factors of n, counted with multiplicity. Another characterization by
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; ; ; 30 April 177723 February 1855) was a German mathematician, astronomer, geodesist, and physicist, who contributed to many fields in mathematics and science. He was director of the Göttingen Observatory and ...
is the sum of all primitive roots.


Values

The values of \mu(n) for the first 50 positive numbers are The first 50 values of the function are plotted below: Larger values can be checked in:
Wolframalpha

the b-file of OEIS


Applications


Mathematical series

The
Dirichlet series In mathematics, a Dirichlet series is any series of the form \sum_^\infty \frac, where ''s'' is complex, and a_n is a complex sequence. It is a special case of general Dirichlet series. Dirichlet series play a variety of important roles in anal ...
that generates the Möbius function is the (multiplicative) inverse of the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for and its analytic c ...
; if s is a complex number with real part larger than 1 we have :\sum_^\infty \frac=\frac. This may be seen from its
Euler product In number theory, an Euler product is an expansion of a Dirichlet series into an infinite product indexed by prime numbers. The original such product was given for the sum of all positive integers raised to a certain power as proven by Leonhard E ...
:\frac = \prod_= \left(1-\frac\right)\left(1-\frac\right)\left(1-\frac\right)\cdots Also: * \sum\limits_^ \frac = \frac; * \sum_^\infty \frac=0; * \sum\limits_^ \frac=-1; * \sum\limits_^ \frac=-2\gamma, where \gamma is Euler's constant. The
Lambert series In mathematics, a Lambert series, named for Johann Heinrich Lambert, is a series taking the form :S(q)=\sum_^\infty a_n \frac . It can be resummed formally by expanding the denominator: :S(q)=\sum_^\infty a_n \sum_^\infty q^ = \sum_^\infty ...
for the Möbius function is :\sum_^\infty \frac = q, which converges for , q, <1. For prime \alpha\geq 2, we also have :\sum_^\infty \frac = \sum_ q^, , q, < 1.


Algebraic number theory

Gauss proved that for a prime number p the sum of its primitive roots is congruent to \mu(p-1) \mod p. If \mathbb_q denotes the
finite field In mathematics, a finite field or Galois field (so-named in honor of Évariste Galois) is a field (mathematics), field that contains a finite number of Element (mathematics), elements. As with any field, a finite field is a Set (mathematics), s ...
of order q (where q is necessarily a prime power), then the number N of monic irreducible polynomials of degree n over \mathbb_q is given by :N(q,n)=\frac \sum_ \mu(d)q^\frac. The Möbius function is used in the
Möbius inversion formula In mathematics, the classic Möbius inversion formula is a relation between pairs of arithmetic functions, each defined from the other by sums over divisors. It was introduced into number theory in 1832 by August Ferdinand Möbius. A large genera ...
.


Physics

The Möbius function also arises in the primon gas or free Riemann gas model of
supersymmetry Supersymmetry is a Theory, theoretical framework in physics that suggests the existence of a symmetry between Particle physics, particles with integer Spin (physics), spin (''bosons'') and particles with half-integer spin (''fermions''). It propo ...
. In this theory, the fundamental particles or "primons" have energies \log(p). Under
second quantization Second quantization, also referred to as occupation number representation, is a formalism used to describe and analyze quantum many-body systems. In quantum field theory, it is known as canonical quantization, in which the fields (typically as ...
, multiparticle excitations are considered; these are given by \log(n) for any natural number n. This follows from the fact that the factorization of the natural numbers into primes is unique. In the free Riemann gas, any natural number can occur, if the primons are taken as
boson In particle physics, a boson ( ) is a subatomic particle whose spin quantum number has an integer value (0, 1, 2, ...). Bosons form one of the two fundamental classes of subatomic particle, the other being fermions, which have half odd-intege ...
s. If they are taken as
fermion In particle physics, a fermion is a subatomic particle that follows Fermi–Dirac statistics. Fermions have a half-integer spin (spin 1/2, spin , Spin (physics)#Higher spins, spin , etc.) and obey the Pauli exclusion principle. These particles i ...
s, then the
Pauli exclusion principle In quantum mechanics, the Pauli exclusion principle (German: Pauli-Ausschlussprinzip) states that two or more identical particles with half-integer spins (i.e. fermions) cannot simultaneously occupy the same quantum state within a system that o ...
excludes squares. The operator (-1)^F that distinguishes fermions and bosons is then none other than the Möbius function \mu(n). The free Riemann gas has a number of other interesting connections to number theory, including the fact that the partition function is the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for and its analytic c ...
. This idea underlies
Alain Connes Alain Connes (; born 1 April 1947) is a French mathematician, known for his contributions to the study of operator algebras and noncommutative geometry. He was a professor at the , , Ohio State University and Vanderbilt University. He was awar ...
's attempted proof of the
Riemann hypothesis In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part . Many consider it to be the most important unsolved problem in pure ...
.


Properties

The Möbius function is multiplicative (i.e., \mu(ab)=\mu(a)\mu(b) whenever a and b are
coprime In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
).
Proof: Given two coprime numbers m \geq n, we induct on mn. If mn = 1, then \mu(mn) = 1 = \mu(m) \mu(n). Otherwise, m > n \geq 1, so :\begin 0 &= \sum_ \mu(d) \\ &= \mu(mn) + \sum_ \mu(d) \\ &\stackrel \mu(mn) - \mu(m)\mu(n) + \sum_ \mu(d)\mu(d') \\ &= \mu(mn) - \mu(m)\mu(n) + \sum_ \mu(d)\sum_\mu(d') \\ &= \mu(mn) - \mu(m)\mu(n) + 0 \end
The sum of the Möbius function over all positive divisors of n (including n itself and 1) is zero except when n=1: :\sum_ \mu(d) = \begin 1 & \text n=1, \\ 0 & \text n>1. \end The equality above leads to the important
Möbius inversion formula In mathematics, the classic Möbius inversion formula is a relation between pairs of arithmetic functions, each defined from the other by sums over divisors. It was introduced into number theory in 1832 by August Ferdinand Möbius. A large genera ...
and is the main reason why \mu is of relevance in the theory of multiplicative and arithmetic functions. Other applications of \mu(n) in combinatorics are connected with the use of the Pólya enumeration theorem in combinatorial groups and combinatorial enumerations. There is a formula for calculating the Möbius function without directly knowing the factorization of its argument: :\mu(n) = \sum_ e^, i.e. \mu(n) is the sum of the primitive n-th
roots of unity In mathematics, a root of unity is any complex number that yields 1 when raised to some positive integer power . Roots of unity are used in many branches of mathematics, and are especially important in number theory, the theory of group char ...
. (However, the computational complexity of this definition is at least the same as that of the Euler product definition.) Other identities satisfied by the Möbius function include :\sum_ \left\lfloor\right\rfloor \mu(k) = 1 and :\sum_ \sin\left( \right) \mu(k) = 1. The first of these is a classical result while the second was published in 2020. Similar identities hold for the Mertens function.


Proof of the formula for the sum of \mu over divisors

The formula :\sum_ \mu(d)= \begin 1 & \text n=1, \\ 0 & \text n>1 \end can be written using
Dirichlet convolution In mathematics, Dirichlet convolution (or divisor convolution) is a binary operation defined for arithmetic functions; it is important in number theory. It was developed by Peter Gustav Lejeune Dirichlet. Definition If f , g : \mathbb\to\mathbb ...
as: 1 * \mu = \varepsilon where \varepsilon is the identity under the convolution. One way of proving this formula is by noting that the Dirichlet convolution of two
multiplicative functions In number theory, a multiplicative function is an arithmetic function f of a positive integer n with the property that f(1)=1 and f(ab) = f(a)f(b) whenever a and b are coprime. An arithmetic function is said to be completely multiplicative func ...
is again multiplicative. Thus it suffices to prove the formula for powers of primes. Indeed, for any prime p and for any k>0 :1 * \mu (p^k) = \sum_ \mu(d)= \mu(1)+\mu(p)+\sum_\mu(p^m)=1-1+\sum0=0=\varepsilon(p^k), while for n=1 :1 * \mu (1) = \sum_ \mu(d)= \mu(1) =1 =\varepsilon(1).


Other proofs

Another way of proving this formula is by using the identity :\mu(n) = \sum_ e^, The formula above is then a consequence of the fact that the nth roots of unity sum to 0, since each nth root of unity is a primitive dth root of unity for exactly one divisor d of n. However it is also possible to prove this identity from first principles. First note that it is trivially true when n=1. Suppose then that n>1. Then there is a bijection between the factors d of n for which \mu(d)\neq 0 and the subsets of the set of all prime factors of n. The asserted result follows from the fact that every non-empty finite set has an equal number of odd- and even-cardinality subsets. This last fact can be shown easily by induction on the cardinality , S, of a non-empty finite set S. First, if , S, =1, there is exactly one odd-cardinality subset of S, namely S itself, and exactly one even-cardinality subset, namely \emptyset. Next, if , S, >1, then divide the subsets of S into two subclasses depending on whether they contain or not some fixed element x in S. There is an obvious bijection between these two subclasses, pairing those subsets that have the same complement relative to the subset \. Also, one of these two subclasses consists of all the subsets of the set S\setminus\, and therefore, by the induction hypothesis, has an equal number of odd- and even-cardinality subsets. These subsets in turn correspond bijectively to the even- and odd-cardinality \-containing subsets of S. The inductive step follows directly from these two bijections. A related result is that the binomial coefficients exhibit alternating entries of odd and even power which sum symmetrically.


Average order

The mean value (in the sense of average orders) of the Möbius function is zero. This statement is, in fact, equivalent to the
prime number theorem In mathematics, the prime number theorem (PNT) describes the asymptotic analysis, asymptotic distribution of the prime numbers among the positive integers. It formalizes the intuitive idea that primes become less common as they become larger by p ...
.


\mu(n) sections

\mu(n)=0
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
n is divisible by the square of a prime. The first numbers with this property are :4, 8, 9, 12, 16, 18, 20, 24, 25, 27, 28, 32, 36, 40, 44, 45, 48, 49, 50, 52, 54, 56, 60, 63, ... . If n is prime, then \mu(n)=-1, but the converse is not true. The first non prime n for which \mu(n)=-1 is 30 = 2\times 3\times 5. The first such numbers with three distinct prime factors (
sphenic number In number theory, a sphenic number (from , 'wedge') is a positive integer that is the product of three distinct prime numbers. Because there are infinitely many prime numbers, there are also infinitely many sphenic numbers. Definition A sphenic ...
s) are :30, 42, 66, 70, 78, 102, 105, 110, 114, 130, 138, 154, 165, 170, 174, 182, 186, 190, 195, 222, ... . and the first such numbers with 5 distinct prime factors are :2310, 2730, 3570, 3990, 4290, 4830, 5610, 6006, 6090, 6270, 6510, 6630, 7410, 7590, 7770, 7854, 8610, 8778, 8970, 9030, 9282, 9570, 9690, ... .


Mertens function

In number theory another
arithmetic function In number theory, an arithmetic, arithmetical, or number-theoretic function is generally any function whose domain is the set of positive integers and whose range is a subset of the complex numbers. Hardy & Wright include in their definition th ...
closely related to the Möbius function is the Mertens function, defined by :M(n) = \sum_^n \mu(k) for every natural number . This function is closely linked with the positions of zeroes of the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for and its analytic c ...
. See the article on the Mertens conjecture for more information about the connection between M(n) and the
Riemann hypothesis In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part . Many consider it to be the most important unsolved problem in pure ...
. From the formula :\mu(n) = \sum_ e^, it follows that the Mertens function is given by :M(n)= -1+\sum_ e^, where \mathcal_n is the
Farey sequence In mathematics, the Farey sequence of order ''n'' is the sequence of completely reduced fractions, either between 0 and 1, or without this restriction, which have denominators less than or equal to ''n'', arranged in order of increasing size. Wi ...
of order n. This formula is used in the proof of the Franel–Landau theorem.


Generalizations


Incidence algebras

In
combinatorics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
, every locally finite
partially ordered set In mathematics, especially order theory, a partial order on a Set (mathematics), set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements need ...
(poset) is assigned an
incidence algebra In order theory, a field of mathematics, an incidence algebra is an associative algebra, defined for every locally finite partially ordered set and commutative ring with unity. Subalgebra#Subalgebras_for_algebras_over_a_ring_or_field, Subalgebras c ...
. One distinguished member of this algebra is that poset's "Möbius function". The classical Möbius function treated in this article is essentially equal to the Möbius function of the set of all positive integers partially ordered by
divisibility In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a ''Multiple (mathematics), multiple'' of m. An integer n is divis ...
. See the article on
incidence algebra In order theory, a field of mathematics, an incidence algebra is an associative algebra, defined for every locally finite partially ordered set and commutative ring with unity. Subalgebra#Subalgebras_for_algebras_over_a_ring_or_field, Subalgebras c ...
s for the precise definition and several examples of these general Möbius functions.


Popovici's function

Constantin Popovici defined a generalised Möbius function \mu_k=\mu * \cdots * \mu to be the k-fold
Dirichlet convolution In mathematics, Dirichlet convolution (or divisor convolution) is a binary operation defined for arithmetic functions; it is important in number theory. It was developed by Peter Gustav Lejeune Dirichlet. Definition If f , g : \mathbb\to\mathbb ...
of the Möbius function with itself. It is thus again a multiplicative function with : \mu_k\left(p^a\right) = (-1)^a \binom \ where the binomial coefficient is taken to be zero if a>k. The definition may be extended to complex k by reading the binomial as a polynomial in k.


Implementations


Mathematica



geeksforgeeks
C++, Python3, Java, C#, PHP, JavaScript
Rosetta Code



See also

* Liouville function * Mertens function * Ramanujan's sum *
Sphenic number In number theory, a sphenic number (from , 'wedge') is a positive integer that is the product of three distinct prime numbers. Because there are infinitely many prime numbers, there are also infinitely many sphenic numbers. Definition A sphenic ...


Notes


Citations


Sources

* * * * * * * * * * * * * * * *


External links

* {{DEFAULTSORT:Mobius Function Multiplicative functions