{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $p$ be a prime number.\nThen the group $(\\mathbb{Z}/p\\mathbb{Z})^\\times$ is [[cyclic|0KVGH0J5B3]] of order $p - 1$.\n\n## Remarks\n\nSo $(\\mathbb{Z}/p\\mathbb{Z})^\\times$ is isomorphic to the additive group $\\mathbb{Z}/(p-1)\\mathbb{Z}$, but no simple general formula for a generator is known.\nA generator is a primitive root modulo $p$, and there are $\\varphi(p - 1)$ of them.\nFor $p = 7$, the powers of $3$ modulo $7$ are $1, 3, 2, 6, 4, 5$, so $3$ is a primitive root modulo $7$.\nMore generally, $(\\mathbb{Z}/n\\mathbb{Z})^\\times$ is cyclic if and only if $n$ is $1$, $2$, $4$, $p^k$ or $2 p^k$ for an odd prime $p$. Gauss first proved this.\n\n## Explanations\n\n### L1 human\n\nFor a prime $p$, one residue modulo $p$ has powers that give all the nonzero residues.\nSuch a residue is a primitive root.\nSo the multiplicative group modulo $p$ is cyclic.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A07",
      "20K01"
    ],
    "name": "The group of units of Z/pZ is cyclic",
    "role": "theorem",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Multiplicative_group_of_integers_modulo_n"
      },
      {
        "locator": "Structure",
        "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"
      }
    ],
    "tag": "0QTHB6PE52",
    "uses": [
      "0F8X8ZRQ53",
      "0B85Q41RP6",
      "0S7495H4HM"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0QTHB6PE52/",
  "links": [
    {
      "field": "uses",
      "target": "0F8X8ZRQ53"
    },
    {
      "field": "uses",
      "target": "0B85Q41RP6"
    },
    {
      "field": "uses",
      "target": "0S7495H4HM"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0QTHB6PE52.md",
  "msc": [
    "11A07",
    "20K01"
  ],
  "name": "The group of units of Z/pZ is cyclic",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0QT/0QTHB6PE52.md",
  "status": null,
  "tag": "0QTHB6PE52",
  "uri": "m2://0QTHB6PE52",
  "url": "https://math2.tamnd.com/wiki/the-group-of-units-of-z-pz-is-cyclic/",
  "writing": {
    "tag": "0QTHB6PE52",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
