{
  "aliases": [
    "euler-constant"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "05S2GSPMGA"
    }
  ],
  "body": "\n## Description\n\nThe Euler–Mascheroni constant is the real number\n$$\\gamma = \\lim_{n \\to \\infty} \\big( H_n - \\ln n \\big) \\approx 0.5772156649,$$\nwhere $H_n = 1 + \\frac{1}{2} + \\cdots + \\frac{1}{n}$ is the $n$-th [[harmonic number|0D2Y6G4C4S]].\n\n## Remarks\n\nThe [[limit exists|05S2GSPMGA]], because the sequence $H_n - \\ln n$ is decreasing and bounded below by $0$.\nAlso $\\gamma = \\int_1^\\infty \\Big( \\frac{1}{\\lfloor x \\rfloor} - \\frac{1}{x} \\Big) \\, dx$.\nIt is not known whether $\\gamma$ is rational. Mathlib defines it as `Real.eulerMascheroniConstant`.\nLeonhard Euler introduced the constant in a paper of 1734. Lorenzo Mascheroni later computed it to more decimal places, with some errors.\n\n## Explanations\n\n### L1 human\n\nThe harmonic numbers grow like $\\ln n$, and $\\gamma$ is the limit of the difference.\nSo $H_n \\approx \\ln n + 0.5772$ for large $n$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "euler-constant"
    ],
    "kind": "object",
    "msc": [
      "11Y60"
    ],
    "name": "Euler–Mascheroni constant",
    "same_as": {
      "wikidata": "Q273023",
      "wikipedia": "Euler's constant"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Euler%27s_constant"
      }
    ],
    "tag": "00C5P9JZBK",
    "uses": [
      "0D2Y6G4C4S",
      "0044CPHJBV",
      "05S2GSPMGA"
    ]
  },
  "kind": "object",
  "link": "https://math2.tamnd.com/node/00C5P9JZBK/",
  "links": [
    {
      "field": "uses",
      "target": "0D2Y6G4C4S"
    },
    {
      "field": "uses",
      "target": "0044CPHJBV"
    },
    {
      "field": "uses",
      "target": "05S2GSPMGA"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/00C5P9JZBK.md",
  "msc": [
    "11Y60"
  ],
  "name": "Euler–Mascheroni constant",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/00C/00C5P9JZBK.md",
  "status": null,
  "tag": "00C5P9JZBK",
  "uri": "m2://00C5P9JZBK",
  "url": "https://math2.tamnd.com/wiki/euler-mascheroni-constant/",
  "writing": {
    "tag": "00C5P9JZBK",
    "kind": "object",
    "level": "W1",
    "next": [
      {
        "what": "section Invariants",
        "note": "a table of the main invariants",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of out",
        "have": 0,
        "want": 1
      }
    ]
  }
}
