Mobius Function in LaTeX (\mu(n))

μ(n)\mu(n)
LaTeX command
\mu(n)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Möbius function: 0 if a squared prime divides n, otherwise (-1)^k for k prime factors.

Its main role is Möbius inversion: if g(n) = \sum_{d \mid n} f(d), then f(n) = \sum_{d \mid n} \mu(d)\, g(n/d). It also satisfies \sum_{d \mid n} \mu(d) = 0 for n > 1, and its Dirichlet series is the reciprocal of the zeta function, \frac{1}{\zeta(s)} = \sum_{n \ge 1} \frac{\mu(n)}{n^s}. The letter \mu is heavily overloaded, meaning a mean in statistics and a measure in analysis, so introduce it explicitly. In math mode, use the Greek \mu, never a Latin u as a lookalike.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

1ζ(s)=∑n=1∞μ(n)ns\frac{1}{\zeta(s)} = \sum_{n=1}^{\infty} \frac{\mu(n)}{n^s}
\documentclass{article}
\begin{document}
Mobius Function: $\mu(n)$

\[ \frac{1}{\zeta(s)} = \sum_{n=1}^{\infty} \frac{\mu(n)}{n^s} \]
\end{document}

Related symbols

All 정수론 →

Frequently asked questions

How do I write Mobius Function in LaTeX?
Type \mu(n) in math mode, for example $\frac{1}{\zeta(s)} = \sum_{n=1}^{\infty} \frac{\mu(n)}{n^s}$. It works in plain LaTeX without loading any package.
Which package do I need for \mu(n)?
None. \mu(n) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \mu(n) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\mu(n)$ in running text.
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기