Numbers of the form \frac{a^{2^n}+b^{2^n}}{gcd(a+b,2)} with
a,
b any
coprime integers, , are called
generalized Fermat numbers. An odd prime
p is a generalized Fermat number if and only if
p is congruent to
1 (mod 4). (Here we consider only the case , so {{nowrap|1=3 = 2^{2^{0}} \!+ 1}} is not a counterexample.) An example of a
probable prime of this form is 200262144 + 119262144 (found by Kellen Shenton). By analogy with the ordinary Fermat numbers, it is common to write generalized Fermat numbers of the form a^{2^{ \overset{n} {}}} \!\!+ 1 as
Fn(
a). In this notation, for instance, the number 100,000,001 would be written as
F3(10). In the following we shall restrict ourselves to primes of this form, a^{2^{ \overset{n} {}}} \!\!+ 1, such primes are called "Fermat primes base
a". Of course, these primes exist only if
a is
even.
Generalized Fermat primes of the form Fn(a) Because of the ease of proving their primality, generalized Fermat primes have become in recent years a topic for research within the field of number theory. Many of the largest known primes today are generalized Fermat primes. Generalized Fermat numbers can be prime only for
even , because if is
odd then every generalized Fermat number will be divisible by 2. The smallest prime number F_n(a) with n>4 is F_5(30), or 3032 + 1. Besides, we can define "half generalized Fermat numbers" for an odd base, a half generalized Fermat number to base
a (for odd
a) is \frac{a^{2^n} \!+ 1}{2}, and it is also to be expected that there will be only finitely many half generalized Fermat primes for each odd base. In this list, the generalized Fermat numbers (F_n(a)) to an even are a^{2^n} \!+ 1, for odd , they are \frac{a^{2^n} \!\!+ 1}{2}. If is a
perfect power with an odd exponent , then all generalized Fermat number can be algebraic factored, so they cannot be prime. See for even bases up to 1000, and for odd bases. For the smallest number n such that F_n(a) is prime, see . For the smallest even base such that F_n(a) is prime, see . The generalized Fermat prime
F14(71) is the largest known generalized Fermat prime in bases
b ≤ 1000, it is proven prime by
elliptic curve primality proving. The smallest even base
b such that
Fn(
b) =
b2
n + 1 (for given
n = 0, 1, 2, ...) is prime are :2, 2, 2, 2, 2, 30, 102, 120, 278, 46, 824, 150, 1534, 30406, 67234, 70906, 48594, 62722, 24518, 75898, 919444, 2524190, ... The smallest odd base
b such that
Fn(
b) = (
b2
n + 1)/2 (for given
n = 0, 1, 2, ...) is prime (or
probable prime) are :3, 3, 3, 9, 3, 3, 3, 113, 331, 513, 827, 799, 3291, 5041, 71, 220221, 23891, 11559, 187503, 35963, ... Conversely, the smallest
k such that (2
n)
k + 1 (for given
n) is prime are :1, 1, 1, 0, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 0, 4, 1, ... (The next term is unknown) (also see and ) A more elaborate theory can be used to predict the number of bases for which F_n(a) will be prime for fixed n. The number of generalized Fermat primes can be roughly expected to halve as n is increased by 1.
Generalized Fermat primes of the form Fn(a, b) It is also possible to construct generalized Fermat primes of the form a^{2^n} + b^{2^n}. As in the case where
b=1, numbers of this form will always be divisible by 2 if
a+b is even, but it is still possible to define generalized half-Fermat primes of this type. For the smallest prime of the form F_n(a,b) (for odd a+b), see also .
Largest known generalized Fermat primes The following is a list of the ten largest known generalized Fermat primes. The whole top-10 is discovered by participants in the
PrimeGrid project. On the
Prime Pages one can find the current top 20 generalized Fermat primes and the current top 100 generalized Fermat primes. ==See also==