{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "4G65M0ZWAZ"
    },
    {
      "field": "uses",
      "target": "MGSX6V5Y5Y"
    },
    {
      "field": "uses",
      "target": "WE0RQTR68H"
    }
  ],
  "body": "\n## Summary\n\nThe Brun sieve is a combinatorial sieve method of Viggo Brun.\nIt counts the integers of a set that have no prime factor below a bound $z$.\nIt uses a truncated inclusion–exclusion, which gives upper and lower bounds with a controllable error.\nIt was the first sieve to give nontrivial results on problems such as twin primes.\nThere the [[sieve of Eratosthenes|0XM8ZA9RNM]] with full inclusion–exclusion produces too large an error.\nWith it Brun proved that the sum of the reciprocals of the twin primes converges.\n\n## Explanations\n\n### L1 human\n\nTo count numbers with no small prime factor, inclusion–exclusion subtracts the multiples of each prime, adds back the multiples of each product of two primes, and so on.\nWith many primes this formula has a huge number of terms, and the small rounding errors add up to something larger than the answer.\nBrun's idea is to stop the formula early.\nStopping after an even number of steps gives an upper bound, stopping after an odd number gives a lower bound.\nFor example, the numbers up to $10$ with no factor $2$ or $3$ are $1, 5, 7$; stopping after the first step gives the lower bound $10 - 5 - 3 = 2 \\le 3$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "11N35",
      "11N36"
    ],
    "name": "Brun sieve",
    "same_as": {
      "wikidata": "Q17003952",
      "wikipedia": "Brun sieve"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Brun_sieve"
      }
    ],
    "tag": "M4G4RXASTY"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/M4G4RXASTY/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/M4G4RXASTY.md",
  "msc": [
    "11N35",
    "11N36"
  ],
  "name": "Brun sieve",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/M4G/M4G4RXASTY.md",
  "status": null,
  "tag": "M4G4RXASTY",
  "uri": "m2://M4G4RXASTY",
  "url": "https://math2.tamnd.com/wiki/brun-sieve/",
  "writing": {
    "tag": "M4G4RXASTY",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
