∑ZWMath CoursesSyllabusExercises
ES
ZWMath›Elementary number theory›Arithmetic functions›Möbius inversion formula›ZW-MOBIUS-INVERSION-FORMULA-009
Course menu
AreaNumber theoryCourseElementary number theoryTopicArithmetic functions
Divisibility and factorization10
  • Bézout's identity
  • Extended Euclidean algorithm
  • Euclid's lemma
  • Fundamental theorem of arithmetic
  • Least common multiple
  • Infinitude of primes
  • Linear Diophantine equation
  • Greatest common divisor Discrete mathematics
  • Euclidean algorithm Discrete mathematics
  • Prime number Discrete mathematics
Congruences9
  • Complete residue system
  • Modular inverse
  • Linear congruence
  • Chinese remainder theorem
  • Fermat's little theorem
  • Euler's totient function
  • Euler's theorem
  • Wilson's theorem
  • Modular congruence Discrete mathematics
Orders and quadratic residues6
  • Multiplicative order
  • Primitive root
  • Quadratic residue
  • Legendre symbol
  • Euler's criterion
  • Law of quadratic reciprocity
Arithmetic functions5
  • Multiplicative arithmetic function
  • Divisor functions
  • Perfect number
  • Möbius function
  • Möbius inversion formula
Continued fractions and Diophantine equations4
  • Continued fraction
  • Convergent of a continued fraction
  • Pell's equation
  • Sum of two squares
Primes and cryptography3
  • RSA cryptosystem
  • Fermat primality test
  • Prime number theorem

Exercise · ZW-MOBIUS-INVERSION-FORMULA-009 · ★★★ Advanced

Let \(g(n)=n\) for all \(n\). What is \(f(12)\) by Möbius inversion?

Choose one option.

Show answer
  • C. 4

← Back to the question

Explanation

With nonzero \(\mu(d)\) at \(d=1,2,3,6\), the sum is \(12-6-4+2=4\), which matches \(\varphi(12)\). The terms with \(d=4\) and \(d=12\) vanish because \(\mu\) is zero there.

Study Elementary number theory in ZWMath →

Review the concept: Möbius inversion formula

Formula that recovers an arithmetic function \(f\) from its sum over divisors, using the Möbius function \(\mu\).

\[f(n)=\sum_{d\mid n}\mu(d)\,g\!\left(\frac{n}{d}\right)\]

More practice problems: möbius inversion formula

  • ZW-MOBIUS-INVERSION-FORMULA-001 Which arithmetic function appears as the coefficient in the Möbius inversion formula?
  • ZW-MOBIUS-INVERSION-FORMULA-002 What is the correct way to invert g(n)=∑_d| nf(d)?
  • ZW-MOBIUS-INVERSION-FORMULA-003 Over which set is the sum taken in g(n)=∑_d| nf(d)?
  • ZW-MOBIUS-INVERSION-FORMULA-004 If g(n)=∑_d| nμ(d) for every n, what is g(12)?
  • ZW-MOBIUS-INVERSION-FORMULA-005 What is μ(4)?
  • ZW-MOBIUS-INVERSION-FORMULA-006 If g(n)=n for all n, compute f(6) using Möbius inversion.
  • ZW-MOBIUS-INVERSION-FORMULA-007 If g(n)=n^2 for all n, compute f(3) using Möbius inversion.
  • ZW-MOBIUS-INVERSION-FORMULA-008 If g(n)=∑_d| nf(d) and f(n)=n for all n, compute g(4).

← ZW-MOBIUS-INVERSION-FORMULA-008 ZW-MOBIUS-INVERSION-FORMULA-010 →

Practice

⏱Exam simulator10 random questions with a grade☰All exercises
◉Open on course✦Open on free study↗Open on the map

ZWMath · Math from definition to practice. Open the interactive map · Syllabus · All exercises

Author: ORCID iD 0009-0009-8641-3511

Privacy · About Speedrunz · Contact