A080131 Conjectured number of generalized Fermat primes of the form (n+1)^2^k + n^2^k, with k>1.
3, 1, 2, 1, 2, 2, 1, 2, 1, 1, 0, 2, 1, 2, 0, 1
Offset: 1
Examples
a(1) = 3 because there are three Fermat primes (with k>1): 17, 257, 65537.
Links
- Anders Björn and Hans Riesel, Factors of Generalized Fermat Numbers, Mathematics of Computation, Vol. 67, No. 221, Jan., 1998, pp. 441-446.
- Eric Weisstein's World of Mathematics, Generalized Fermat Number
Programs
-
Mathematica
lst={}; Do[prms=0; Do[If[PrimeQ[(n+1)^2^k+n^2^k], prms++ ], {k, 2, 16}]; AppendTo[lst, prms], {n, 16}]; lst
Comments