{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $G$ be an [[abelian group|082GHNPJ53]] written additively, and let $A$ be a subset of $G$.\nThe set $A$ is *sum-free* if there are no $x, y, z \\in A$, not necessarily distinct, with $x + y = z$.\n\n## Remarks\n\nEquivalently, $(A + A) \\cap A = \\emptyset$, where $A + A$ is the [[sumset|XNBN31HQWB]].\nThe set of odd integers is sum-free in $\\Z$: if $x$ and $y$ are odd, then $x + y$ is even, so it is not in the set.\nThe set $\\set{1, 2, 4}$ is not sum-free: with $x = y = 2$ one gets $x + y = 4$, and repeated elements are allowed.\nFor a positive integer $N$, the upper half $\\set{n : N/2 \u003c n \\le N}$ of $\\set{1, \\dots, N}$ is sum-free, since any sum of two of its elements exceeds $N$.\nThe set $\\set{0}$ is never sum-free, since $0 + 0 = 0$; so a sum-free subset of a group does not contain $0$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "7SHV2SPYP6",
    "kind": "definition",
    "msc": [
      "11B75",
      "11P70",
      "05D10"
    ],
    "name": "Sum-free set",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Sum-free_set"
      }
    ],
    "tag": "MWGG1P8WDC",
    "uses": [
      "082GHNPJ53",
      "XNBN31HQWB"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/MWGG1P8WDC/",
  "links": [
    {
      "field": "defines",
      "target": "7SHV2SPYP6"
    },
    {
      "field": "uses",
      "target": "082GHNPJ53"
    },
    {
      "field": "uses",
      "target": "XNBN31HQWB"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/MWGG1P8WDC.md",
  "msc": [
    "11B75",
    "11P70",
    "05D10"
  ],
  "name": "Sum-free set",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/MWG/MWGG1P8WDC.md",
  "status": null,
  "tag": "MWGG1P8WDC",
  "uri": "m2://MWGG1P8WDC",
  "url": "https://math2.tamnd.com/wiki/sum-free-set-definition/",
  "writing": {
    "tag": "MWGG1P8WDC",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
