{
  "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 $3 \\mid n$ if and only if $3 \\mid d_0 + d_1 + \\dots + d_k$.\n\n## Remarks\n\nMore precisely, $n \\equiv d_0 + d_1 + \\dots + d_k \\pmod 3$. This holds because $10 \\equiv 1 \\pmod 3$, so $10^i \\equiv 1 \\pmod 3$ by [[compatibility with powers|0J5VGJYYC3]].\nFor example, $3 \\mid 7{,}341$, because $7 + 3 + 4 + 1 = 15$ and $3 \\mid 15$.\nThe rule for [[divisibility by 9|0ESHD7ZQDX]] has the same proof.\n\n## Explanations\n\n### L1 human\n\nAdd the digits of the number. If the sum is a multiple of $3$, the number is a multiple of $3$, and if not, it is not.\nYou can repeat: for $987{,}654$ the sum is $39$, and $3 + 9 = 12$ is a multiple of $3$. So $3 \\mid 987{,}654$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A63"
    ],
    "name": "Divisibility by 3",
    "role": "proposition",
    "sources": [
      {
        "locator": "Divisibility by 3 or 9",
        "url": "https://en.wikipedia.org/wiki/Divisibility_rule"
      }
    ],
    "tag": "0R9D4CEJEB",
    "uses": [
      "0TPW25CBN6",
      "0J5VGJYYC3"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0R9D4CEJEB/",
  "links": [
    {
      "field": "uses",
      "target": "0TPW25CBN6"
    },
    {
      "field": "uses",
      "target": "0J5VGJYYC3"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0R9D4CEJEB.md",
  "msc": [
    "11A63"
  ],
  "name": "Divisibility by 3",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0R9/0R9D4CEJEB.md",
  "status": null,
  "tag": "0R9D4CEJEB",
  "uri": "m2://0R9D4CEJEB",
  "url": "https://math2.tamnd.com/wiki/divisibility-by-3/",
  "writing": {
    "tag": "0R9D4CEJEB",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
