Exercise · ZW-MOBIUS-INVERSION-FORMULA-004 · ★★☆ Intermediate

If \(g(n)=\sum_{d\mid n}\mu(d)\) for every \(n\), what is \(g(12)\)?

Choose one option.

Show answer
  • C. \(0\)

Explanation

The divisors of 12 are 1, 2, 3, 4, 6 and 12, with \(\mu\) equal to \(1,-1,-1,0,1,0\); the sum is 0. In general this sum is 0 for every \(n>1\), and it is the identity that makes inversion work.

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-003 ZW-MOBIUS-INVERSION-FORMULA-005 →