{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "07Q4TBTFVB"
    },
    {
      "field": "uses",
      "target": "0ASC73QEQT"
    },
    {
      "field": "uses",
      "target": "0VB9G5B034"
    }
  ],
  "body": "\n## Definition\n\nThe Möbius function $\\mu$ is an arithmetic function. For each positive integer $n$, it is given by\n$$\\mu(n) = \\begin{cases} (-1)^{\\omega(n)} \u0026 \\text{if } n \\text{ is squarefree}, \\\\ 0 \u0026 \\text{otherwise}. \\end{cases}$$\nHere $\\omega(n)$ is the [[number of distinct prime factors|0YVVXT3A0B]] of $n$. The word squarefree has the meaning of the [[definition of a squarefree integer|004JW7A2N5]].\n\n## Remarks\n\nSo $\\mu(1) = 1$, $\\mu(p) = -1$ for each prime $p$, and $\\mu(n) = 0$ when $p^2 \\mid n$ for some prime $p$.\nFor example, $\\mu(6) = 1$, $\\mu(30) = -1$ and $\\mu(12) = 0$.\nThe function $\\mu$ is [[multiplicative|0VB9G5B034]], and it is the [[inverse of the constant function 1|0ASC73QEQT]] for the Dirichlet convolution.\n\n## Explanations\n\n### L1 human\n\nThe Möbius function is $0$ on numbers with a repeated prime factor.\nOn the other numbers, it is $1$ for an even number of prime factors and $-1$ for an odd number.\nIt is the sign rule of inclusion and exclusion, written as a function of $n$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0FANE7P0DY",
    "kind": "definition",
    "msc": [
      "11A25"
    ],
    "name": "Möbius function",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/M%C3%B6bius_function"
      }
    ],
    "tag": "0C8QENHYZW",
    "uses": [
      "004JW7A2N5",
      "0YVVXT3A0B"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0C8QENHYZW/",
  "links": [
    {
      "field": "defines",
      "target": "0FANE7P0DY"
    },
    {
      "field": "uses",
      "target": "004JW7A2N5"
    },
    {
      "field": "uses",
      "target": "0YVVXT3A0B"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0C8QENHYZW.md",
  "msc": [
    "11A25"
  ],
  "name": "Möbius function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0C8/0C8QENHYZW.md",
  "status": null,
  "tag": "0C8QENHYZW",
  "uri": "m2://0C8QENHYZW",
  "url": "https://math2.tamnd.com/wiki/mobius-function-definition/",
  "writing": {
    "tag": "0C8QENHYZW",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
