Definition:Fermat Pseudoprime/Historical Note

From ProofWiki
Jump to navigation Jump to search

Historical Note on Fermat Pseudoprime

From as far back as the ancient Chinese, right up until the time of Gottfried Wilhelm von Leibniz, it was thought that $n$ had to be prime in order for $2^n - 2$ to be divisible by $n$.

This used to be used as a test for primality.

But it was discovered that $2^{341} \equiv 2 \pmod {341}$, and $341 = 31 \times 11$ and so is composite.


Sources