{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "085MJS6907"
    }
  ],
  "body": "\n## Statement\n\nLet $p$ be an odd prime.\nThen\n$$\\left(\\frac{2}{p}\\right) = (-1)^{(p^2-1)/8},$$\nwhere the left side is a [[Legendre symbol|01J8AMV9RS]].\n\n## Remarks\n\nSo $2$ is a quadratic residue modulo $p$ if $p \\equiv \\pm 1 \\pmod 8$, and a nonresidue if $p \\equiv \\pm 3 \\pmod 8$.\nFor example, $3^2 \\equiv 2 \\pmod 7$, but $2$ is not a square modulo $5$.\nOne proof uses [[Gauss's lemma|037ACYXB5Z]] with $a = 2$.\n\n## History\n\nEuler proved the second supplement.\n\n## Explanations\n\n### L1 human\n\nWhether $2$ is a square modulo $p$ depends only on the remainder of $p$ on division by $8$.\nThe remainders $1$ and $7$ give a square, and the remainders $3$ and $5$ do not.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A15"
    ],
    "name": "Second supplement to quadratic reciprocity",
    "role": "theorem",
    "sources": [
      {
        "locator": "q = ±2 and the second supplement",
        "url": "https://en.wikipedia.org/wiki/Quadratic_reciprocity"
      }
    ],
    "tag": "0ZXW95S44M",
    "uses": [
      "01J8AMV9RS"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0ZXW95S44M/",
  "links": [
    {
      "field": "uses",
      "target": "01J8AMV9RS"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0ZXW95S44M.md",
  "msc": [
    "11A15"
  ],
  "name": "Second supplement to quadratic reciprocity",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0ZX/0ZXW95S44M.md",
  "status": null,
  "tag": "0ZXW95S44M",
  "uri": "m2://0ZXW95S44M",
  "url": "https://math2.tamnd.com/wiki/second-supplement-to-quadratic-reciprocity/",
  "writing": {
    "tag": "0ZXW95S44M",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
