{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $n$ be a natural number with decimal digits $d_k d_{k-1} \\dots d_0$, so that $n = \\sum_{i=0}^{k} d_i 10^i$.\nThen $11 \\mid n$ if and only if $11 \\mid d_0 - d_1 + d_2 - \\dots + (-1)^k d_k$.\n\n## Remarks\n\nMore precisely, $n \\equiv \\sum_{i=0}^{k} (-1)^i d_i \\pmod{11}$. This holds because $10 \\equiv -1 \\pmod{11}$, so $10^i \\equiv (-1)^i \\pmod{11}$.\nFor example, $918{,}082$ gives $2 - 8 + 0 - 8 + 1 - 9 = -22$, and $11 \\mid -22$. So $11 \\mid 918{,}082$.\n\n## Explanations\n\n### L1 human\n\nStart at the last digit, and add and subtract the digits in turn.\nThe number is a multiple of $11$ exactly when the result is a multiple of $11$, including $0$.\nFor example, $121$ gives $1 - 2 + 1 = 0$, and indeed $121 = 11 \\cdot 11$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A63"
    ],
    "name": "Divisibility by 11",
    "role": "proposition",
    "sources": [
      {
        "locator": "Divisibility by 11",
        "url": "https://en.wikipedia.org/wiki/Divisibility_rule"
      }
    ],
    "tag": "09YBMJTNBM",
    "uses": [
      "0TPW25CBN6",
      "0J5VGJYYC3"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/09YBMJTNBM/",
  "links": [
    {
      "field": "uses",
      "target": "0TPW25CBN6"
    },
    {
      "field": "uses",
      "target": "0J5VGJYYC3"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/09YBMJTNBM.md",
  "msc": [
    "11A63"
  ],
  "name": "Divisibility by 11",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/09Y/09YBMJTNBM.md",
  "status": null,
  "tag": "09YBMJTNBM",
  "uri": "m2://09YBMJTNBM",
  "url": "https://math2.tamnd.com/wiki/divisibility-by-11/",
  "writing": {
    "tag": "09YBMJTNBM",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
