{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0EHBY5Y84N"
    }
  ],
  "body": "\n## Definition\n\nFor a real number $x$, the prime-counting function $\\pi(x)$ is the number of [[prime numbers|0SN0MAEKYX]] $p$ with $p \\le x$.\n\n## Remarks\n\nFor example, $\\pi(10) = 4$, because the primes up to $10$ are $2, 3, 5, 7$. Also $\\pi(100) = 25$.\nThe function is a step function. It increases by $1$ at each prime.\nThe [[prime number theorem|0EHBY5Y84N]] says that $\\pi(x)$ grows like $x / \\ln x$.\nThe symbol $\\pi$ here has no relation to the number $3.14159\\dots$.\n\n## Explanations\n\n### L1 human\n\nThe function $\\pi(x)$ answers the question: how many primes are there up to $x$?\nThe answer grows without bound, by [[Euclid's theorem|0292EPPPT0]], but the primes become rarer as $x$ grows.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "defines": "0RQSNVTFVZ",
    "kind": "definition",
    "msc": [
      "11N05"
    ],
    "name": "Prime-counting function",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Prime-counting_function"
      }
    ],
    "tag": "0XRJB5SSNE",
    "uses": [
      "0SN0MAEKYX"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0XRJB5SSNE/",
  "links": [
    {
      "field": "defines",
      "target": "0RQSNVTFVZ"
    },
    {
      "field": "uses",
      "target": "0SN0MAEKYX"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0XRJB5SSNE.md",
  "msc": [
    "11N05"
  ],
  "name": "Prime-counting function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0XR/0XRJB5SSNE.md",
  "status": null,
  "tag": "0XRJB5SSNE",
  "uri": "m2://0XRJB5SSNE",
  "url": "https://math2.tamnd.com/wiki/prime-counting-function-definition/",
  "writing": {
    "tag": "0XRJB5SSNE",
    "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
      }
    ]
  }
}
