Britannica
Sources used in this answer
How did Leonhard Euler disprove Pierre de Fermat’s claim about all Fermat numbers being prime?
Created from Britannica articles
using AI.
AI can make mistakes, so verify using Britannica articles.
Pierre de Fermat
Fermat, portrait by Roland Lefèvre; in the Narbonne City Museums, France
Pierre de Fermat conjectured that all numbers of the form are prime because the formula yielded prime numbers for values of from 0 through 4.12
The Swiss mathematician Leonhard Euler disproved this conjecture by demonstrating that the case for is not prime. Specifically, Euler showed that the number (which equals , or 4,294,967,297) is divisible by 641. By splitting this number into the product of 641 and 6,700,417, Euler proved that the value is composite, thereby invalidating Fermat’s assertion.134