How to use this calculator
Evaluate μ(n), including its zero value for integers divisible by a prime square.
- Enter Positive integer. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
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.
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