Advanced Möbius Function Calculator

Explore Möbius behavior for values and ranges. See factor structure, square-free status, and cumulative totals. Download clean reports and graphs for deeper arithmetic insight.

Calculator

Example Data Table

n Prime Factorization Square-Free μ(n) M(n)
11Yes11
22Yes-10
42^2No0-1
62 × 3Yes1-1
102 × 5Yes1-1
122^2 × 3No0-2

Formula Used

The Möbius function μ(n) is defined by three rules:

Mertens function: M(n) = ∑ μ(k), for 1 ≤ k ≤ n

Divisor identity: ∑ μ(d) over all divisors d of n equals 1 when n = 1, otherwise 0.

How to Use This Calculator

  1. Enter the target integer n for the primary Möbius result.
  2. Set the range start and range end for the table and chart.
  3. Choose whether you want one result, a full range, or both.
  4. Select divisor visibility and the chart style you prefer.
  5. Press Calculate Möbius Function to generate the report.
  6. Use the CSV or PDF buttons to export the produced results.

Frequently Asked Questions

1. What does the Möbius function measure?

It classifies an integer by its prime factor structure. The value becomes 0 when any prime square divides the number. Otherwise, the sign depends on whether the count of distinct prime factors is even or odd.

2. Why is μ(1) equal to 1?

The value 1 is the multiplicative identity and has no prime factors. Defining μ(1)=1 keeps many number theoretic identities clean, especially inversion formulas and divisor sum relationships.

3. When does μ(n) become zero?

It becomes 0 whenever n contains a repeated prime factor. Examples include 4, 12, 18, and 50 because each has a squared prime dividing it.

4. What does square-free mean here?

A square-free integer is not divisible by any perfect square greater than 1. Numbers like 6 and 30 are square-free, but 8 and 45 are not.

5. What is the Mertens function?

The Mertens function M(n) is the running total of Möbius values from 1 through n. It helps visualize cancellations that appear in multiplicative number theory.

6. Why show the divisor identity sum?

The divisor sum verifies a classic identity: the sum of μ(d) over all divisors of n is 1 only for n=1, and 0 otherwise.

7. Can I export the generated table?

Yes. The page includes CSV and PDF export buttons. CSV is useful for spreadsheets, while PDF is better for sharing a fixed report snapshot.

8. Why is the visible range limited?

Large tables and dense graphs can slow browsers and clutter interpretation. A tighter range keeps the chart responsive and makes patterns in μ(n) and M(n) easier to inspect.

Related Calculators

Modular Exponentiation Fast Power CalculatorReverse Euclidean algorithm calculatorfast modular exponentiation calculatorLarge number modulo calculatormodular congruence solverpisano period calculatoreuler totient calculatorgcd calculatorprime number checkercommon multiples calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.