{
  "aliases": [
    "pell-fermat-equation"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0EM6C9SZN5"
    },
    {
      "field": "uses",
      "target": "0J1TT091TN"
    },
    {
      "field": "uses",
      "target": "0KCYJSB9FW"
    }
  ],
  "body": "\n## Definition\n\nLet $d$ be a positive integer that is not a perfect square.\nPell's equation for $d$ is the [[Diophantine equation|08B1RTW7VZ]] $x^2 - d y^2 = 1$, with unknowns $x, y \\in \\mathbb{Z}$.\nA solution is a pair $(x, y)$ of integers that satisfies the equation.\n\n## Remarks\n\nThe pairs $(\\pm 1, 0)$ are the trivial solutions.\nFor $d = 2$, the pair $(3, 2)$ is a solution, since $9 - 2 \\cdot 4 = 1$.\nA solution $(x, y)$ with $y \\neq 0$ gives the rational approximation $x / y$ of $\\sqrt{d}$.\nThe name comes from an error of Euler, who attributed a solution by William Brouncker to John Pell.\n\n## Explanations\n\n### L1 human\n\nPell's equation asks for integers $x$ and $y$ such that $x^2$ is exactly one more than $d y^2$.\nFor $d = 2$, the solutions $(3, 2)$, $(17, 12)$ and $(577, 408)$ give fractions very close to $\\sqrt{2}$.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "aliases": [
      "pell-fermat-equation"
    ],
    "defines": "0Z0NE3J6JX",
    "kind": "definition",
    "msc": [
      "11D09"
    ],
    "name": "Pell's equation",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Pell%27s_equation"
      }
    ],
    "tag": "0AF3DANJ76",
    "uses": [
      "08B1RTW7VZ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0AF3DANJ76/",
  "links": [
    {
      "field": "defines",
      "target": "0Z0NE3J6JX"
    },
    {
      "field": "uses",
      "target": "08B1RTW7VZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0AF3DANJ76.md",
  "msc": [
    "11D09"
  ],
  "name": "Pell's equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0AF/0AF3DANJ76.md",
  "status": null,
  "tag": "0AF3DANJ76",
  "uri": "m2://0AF3DANJ76",
  "url": "https://math2.tamnd.com/wiki/pells-equation-definition/",
  "writing": {
    "tag": "0AF3DANJ76",
    "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
      }
    ]
  }
}
