CalcWorldHub
Free online calculator · no signup

Mobius arithmetic function calculator

Evaluate μ(n), including its zero value for integers divisible by a prime square.

4,000 tools
Mobius arithmetic function calculator — Positive integer and calculation method
Mobius arithmetic function calculator: inputs and calculation method.

How to use this calculator

Evaluate μ(n), including its zero value for integers divisible by a prime square.

  1. Enter Positive integer. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Mobius arithmetic function explained

The Möbius function μ(n) is zero when a prime square divides n; otherwise its sign depends on the parity of the distinct prime factors.

Mobius μ(n)-1
Mobius μ(n): -1 in the worked scenario.

How the calculation works

Squarefree prime factor parity

Positive integers up to 10¹² using bounded trial factorization..

Set up the calculation

n — Positive integer
Positive integer. Enter a whole number.

Limits of this model

Positive integers up to 10¹² using bounded trial factorization.

Check this example

Positive integer = 30.

  • Mobius μ(n): -1

Interpreting the result

μ(n) is zero when a squared prime divides n; otherwise its sign is set by the parity of the number of distinct prime factors. It is an arithmetic function, not a probability.

Frequently asked questions

Why can the result be zero?

A repeated prime factor makes the integer nonsquarefree.

What is μ(1)?

One.

Is this Euler’s totient?

No, it is a distinct multiplicative arithmetic function.

How do I use the Mobius arithmetic function calculator?

Enter Positive integer. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Mobius arithmetic function?

Positive integer = 30. Mobius μ(n): -1