{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $n$ be a positive integer.\nIf $2^n + 1$ is a [[prime number|0SN0MAEKYX]], then $n = 2^k$ for a natural number $k$.\nSo every prime of the form $2^n + 1$ with $n \\ge 1$ is a [[Fermat number|0R03B54V4Z]].\n\n## Remarks\n\nThe proof: if $n = k m$ with $m \u003e 1$ odd, then $x + 1$ divides $x^m + 1$ for $x = 2^k$. So $2^k + 1$ is a proper divisor of $2^n + 1$.\nFor example, $2^6 + 1 = 65 = 5 \\cdot 13$, and $5 = 2^2 + 1$.\nThe converse is false, because $F_5 = 2^{32} + 1$ is composite.\n\n## Explanations\n\n### L1 human\n\nAn odd factor of the exponent gives a factorization of $2^n + 1$.\nSo the only exponents that can give primes are the powers of $2$, which have no odd factor except $1$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A41"
    ],
    "name": "If 2^n + 1 is prime then n is a power of 2",
    "role": "proposition",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Fermat_number"
      }
    ],
    "tag": "0VN4H8M12X",
    "uses": [
      "0R03B54V4Z",
      "0SN0MAEKYX"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0VN4H8M12X/",
  "links": [
    {
      "field": "uses",
      "target": "0R03B54V4Z"
    },
    {
      "field": "uses",
      "target": "0SN0MAEKYX"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0VN4H8M12X.md",
  "msc": [
    "11A41"
  ],
  "name": "If 2^n + 1 is prime then n is a power of 2",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0VN/0VN4H8M12X.md",
  "status": null,
  "tag": "0VN4H8M12X",
  "uri": "m2://0VN4H8M12X",
  "url": "https://math2.tamnd.com/wiki/if-2-n-1-is-prime-then-n-is-a-power-of-2/",
  "writing": {
    "tag": "0VN4H8M12X",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
