Mathematica 9 is now available
 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]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.