{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $G$ be a finite simple [[graph|0JD5C82QMB]] with $n$ vertices and no cycle of length $3$.\nThen $G$ has at most $\\lfloor n^2/4 \\rfloor$ edges.\n\n## Remarks\n\nThe bound is sharp: the [[complete bipartite graph|0V0GC7BQAN]] $K_{\\lfloor n/2 \\rfloor, \\lceil n/2 \\rceil}$ has no triangle and has $\\lfloor n^2/4 \\rfloor$ edges.\nThe theorem is the case $r = 2$ of [[Turán's theorem|0JG1KZSPFZ]].\n\n## History\n\nWillem Mantel stated the theorem in 1907.\n\n## Explanations\n\n### L1 human\n\nA graph on $n$ vertices without a triangle can have at most about a quarter of $n^2$ edges.\nSplit the vertices into two equal halves and join each pair across: this graph reaches the bound.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "05C35"
    ],
    "name": "Mantel's theorem",
    "role": "theorem",
    "sources": [
      {
        "locator": "Mantel's theorem",
        "url": "https://en.wikipedia.org/wiki/Turán's_theorem"
      }
    ],
    "tag": "0MXEHSCYCS",
    "uses": [
      "03WKB2H474"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0MXEHSCYCS/",
  "links": [
    {
      "field": "uses",
      "target": "03WKB2H474"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0MXEHSCYCS.md",
  "msc": [
    "05C35"
  ],
  "name": "Mantel's theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0MX/0MXEHSCYCS.md",
  "status": null,
  "tag": "0MXEHSCYCS",
  "uri": "m2://0MXEHSCYCS",
  "url": "https://math2.tamnd.com/wiki/mantels-theorem/",
  "writing": {
    "tag": "0MXEHSCYCS",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
