{
  "aliases": [
    "multiplicative-group-of-integers-modulo-n"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0GXNHEHQNA"
    },
    {
      "field": "uses",
      "target": "0QTHB6PE52"
    }
  ],
  "body": "\n## Description\n\nLet $n \\geq 1$ be an integer.\nThe group of units of $\\mathbb{Z}/n\\mathbb{Z}$ is the [[group of units|0FJ90Y9926]] $(\\mathbb{Z}/n\\mathbb{Z})^\\times$ of the ring $\\mathbb{Z}/n\\mathbb{Z}$ under multiplication.\nIts elements are the residue classes $[a]$ with $\\gcd(a, n) = 1$, and its identity is $[1]$.\nIt is a finite [[abelian group|082GHNPJ53]] of order $\\varphi(n)$.\n\n## Remarks\n\nFor $n = 8$, the group is $\\{[1], [3], [5], [7]\\}$, and the square of each element is $[1]$, so it is isomorphic to the [[Klein four-group|0PMRQJVTME]].\nFor $n = 16$, the group is isomorphic to $\\mathbb{Z}/2\\mathbb{Z} \\times \\mathbb{Z}/4\\mathbb{Z}$, so it is not cyclic.\nThe group is cyclic if and only if $n$ is $1$, $2$, $4$, $p^k$ or $2 p^k$, with $p$ an odd prime and $k \\geq 1$. A generator is called a primitive root modulo $n$.\nOther notations are $(\\mathbb{Z}/n\\mathbb{Z})^*$, $U(\\mathbb{Z}/n\\mathbb{Z})$ and $\\mathbb{Z}_n^*$.\n\n## Explanations\n\n### L1 human\n\nMultiplication modulo $n$ does not make all of $\\mathbb{Z}/n\\mathbb{Z}$ a group, because $[0]$ has no inverse.\nThe classes coprime to $n$ do form a group under multiplication.\nThis group is important in number theory and in cryptography.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "multiplicative-group-of-integers-modulo-n"
    ],
    "instance_of": [
      "0FJ90Y9926",
      "082GHNPJ53"
    ],
    "kind": "object",
    "msc": [
      "11A07",
      "20K01"
    ],
    "name": "Group of units of Z/nZ",
    "same_as": {
      "wikidata": "Q1169249",
      "wikipedia": "Multiplicative group of integers modulo n"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Multiplicative_group_of_integers_modulo_n"
      },
      {
        "locator": "Notation",
        "url": "https://en.wikipedia.org/wiki/Multiplicative_group_of_integers_modulo_n"
      },
      {
        "locator": "Powers of 2",
        "url": "https://en.wikipedia.org/wiki/Multiplicative_group_of_integers_modulo_n"
      }
    ],
    "tag": "0F8X8ZRQ53"
  },
  "kind": "object",
  "link": "https://math2.tamnd.com/node/0F8X8ZRQ53/",
  "links": [
    {
      "field": "instance_of",
      "target": "0FJ90Y9926"
    },
    {
      "field": "instance_of",
      "target": "082GHNPJ53"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0F8X8ZRQ53.md",
  "msc": [
    "11A07",
    "20K01"
  ],
  "name": "Group of units of Z/nZ",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0F8/0F8X8ZRQ53.md",
  "status": null,
  "tag": "0F8X8ZRQ53",
  "uri": "m2://0F8X8ZRQ53",
  "url": "https://math2.tamnd.com/wiki/group-of-units-of-z-nz/",
  "writing": {
    "tag": "0F8X8ZRQ53",
    "kind": "object",
    "level": "W1",
    "next": [
      {
        "what": "section Invariants",
        "note": "a table of the main invariants",
        "have": 0,
        "want": 1
      }
    ]
  }
}
