
All content from Kiddle encyclopedia articles (including the article images and facts) can be freely used under Attribution-ShareAlike license, unless stated otherwise. Cite this article:
Fermat number Facts for Kids. Kiddle Encyclopedia.
A Fermat number is a special positive number. Fermat numbers are named after Pierre de Fermat. The formula that generates them is
where n is a nonnegative integer. The first nine Fermat numbers are (sequence A000215 in OEIS):
As of 2007, only the first 12 Fermat numbers have been completely factored. These factorizations can be found at Prime Factors of Fermat Numbers.
If 2n + 1 is prime, and n > 0, it can be shown that n must be a power of two. Every prime of the form 2n + 1 is a Fermat number, and such primes are called Fermat primes. The only known Fermat primes are F0,...,F4.
Today, Fermat numbers can be used to generate random numbers, between 0 and some value N, which is a power of 2.da:Fermatprimtal