This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Mathematical Functions / Number Theory  /
MoebiusMu

  • MoebiusMu[ n ] gives the Möbius function .
  • Integer mathematical function (see Section A.3.10).
  • is if is a product of an even number of distinct primes, if it is a product of an odd number of primes, and if it has a multiple prime factor.
  • See the Mathematica book: Section 3.2.4.
  • See also: Divisors, FactorInteger, JacobiSymbol.

    Further Examples

    The prime factors determine the value of the Moebius function.

    In[1]:=

    Out[1]=

    In[2]:=

    Out[2]=

    In[3]:=

    Out[3]=

    In[4]:=

    Out[4]=

    In[5]:=

    Out[5]=

    In[6]:=

    Out[6]=