{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $x$ be a real number.\nThe *first Chebyshev function* is\n$$\\vartheta(x) = \\sum_{p \\le x} \\log p,$$\nwhere $p$ runs over the [[prime numbers|01826KMG2H]] at most $x$ and $\\log$ is the [[natural logarithm|04DXAFN2ES]].\nThe *second Chebyshev function* is\n$$\\psi(x) = \\sum_{\\substack{p, k \\\\ p^k \\le x}} \\log p = \\sum_{1 \\le n \\le x} \\Lambda(n).$$\nHere the first sum runs over the pairs of a prime $p$ and an integer $k \\ge 1$.\nThe symbol $\\Lambda$ denotes the [[von Mangoldt function|0NK8JTE1NN]].\n\n## Remarks\n\nExample: $\\vartheta(10) = \\log 2 + \\log 3 + \\log 5 + \\log 7 = \\log 210$.\nThe prime powers up to $10$ are $2, 4, 8, 3, 9, 5, 7$, so $\\psi(10) = \\log(2^3 \\cdot 3^2 \\cdot 5 \\cdot 7) = \\log 2520$.\nIn general $\\psi(x) = \\log \\operatorname{lcm}(1, 2, \\dots, \\floor{x})$ for $x \\ge 1$.\nNon-example: $\\sum_{n \\le 10} \\log n = \\log 10!$ is not $\\psi(10)$, since it also has terms such as $\\log 6$ for $n$ that are not prime powers.\nThe two functions are related by $\\psi(x) = \\sum_{k \\ge 1} \\vartheta(x^{1/k})$, and $\\psi(x) - \\vartheta(x) = O(\\sqrt{x} \\log x)$.\nBoth are $0$ for $x \u003c 2$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "B8AKSVBE5Z",
    "kind": "definition",
    "msc": [
      "11N05",
      "11A41"
    ],
    "name": "Chebyshev functions",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Chebyshev_function"
      }
    ],
    "tag": "MC9HE0M2RG",
    "uses": [
      "01826KMG2H",
      "04DXAFN2ES",
      "0NK8JTE1NN"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/MC9HE0M2RG/",
  "links": [
    {
      "field": "defines",
      "target": "B8AKSVBE5Z"
    },
    {
      "field": "uses",
      "target": "01826KMG2H"
    },
    {
      "field": "uses",
      "target": "04DXAFN2ES"
    },
    {
      "field": "uses",
      "target": "0NK8JTE1NN"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/MC9HE0M2RG.md",
  "msc": [
    "11N05",
    "11A41"
  ],
  "name": "Chebyshev functions",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/MC9/MC9HE0M2RG.md",
  "status": null,
  "tag": "MC9HE0M2RG",
  "uri": "m2://MC9HE0M2RG",
  "url": "https://math2.tamnd.com/wiki/chebyshev-functions-definition/",
  "writing": {
    "tag": "MC9HE0M2RG",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
