{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0KCYJSB9FW"
    }
  ],
  "body": "\n## Statement\n\nLet $d$ be a positive integer that is not a perfect square.\nThen [[Pell's equation|0AF3DANJ76]] $x^2 - d y^2 = 1$ has a solution in integers with $y \\neq 0$.\nIn fact, it has infinitely many solutions in integers.\n\n## Remarks\n\nOne proof uses [[Dirichlet's approximation theorem|04JAY9DGB7]] to find infinitely many $x/y$ with $|x^2 - d y^2|$ bounded.\nAnother proof uses the [[periodic continued fraction|0XKJPFS2W0]] of $\\sqrt{d}$.\nThe smallest solution can be very large. For $d = 61$, it is $(1766319049, 226153980)$.\n\n## History\n\nIndian mathematicians, such as Brahmagupta, studied the equation many centuries before European mathematicians.\nLagrange proved that it always has infinitely many solutions.\n\n## Explanations\n\n### L1 human\n\nFor each non-square $d$, there are integers $x$ and $y \\neq 0$ with $x^2 - d y^2 = 1$.\nThey may be hard to find by trial: for $d = 61$, the smallest $x$ has ten digits.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11D09"
    ],
    "name": "Existence of nontrivial solutions of Pell's equation",
    "role": "theorem",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Pell%27s_equation"
      }
    ],
    "tag": "0EM6C9SZN5",
    "uses": [
      "0AF3DANJ76"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0EM6C9SZN5/",
  "links": [
    {
      "field": "uses",
      "target": "0AF3DANJ76"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0EM6C9SZN5.md",
  "msc": [
    "11D09"
  ],
  "name": "Existence of nontrivial solutions of Pell's equation",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0EM/0EM6C9SZN5.md",
  "status": null,
  "tag": "0EM6C9SZN5",
  "uri": "m2://0EM6C9SZN5",
  "url": "https://math2.tamnd.com/wiki/existence-of-nontrivial-solutions-of-pells-equation/",
  "writing": {
    "tag": "0EM6C9SZN5",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
