A160029 Primes of the form 2^(2^k)+51.
53, 67, 307, 65587, 18446744073709551667, 340282366920938463463374607431768211507
Offset: 1
Keywords
Programs
-
Magma
[a: n in [0..15] | IsPrime(a) where a is 2^(2^n)+51]; // Vincenzo Librandi, May 31 2016
-
Mathematica
Select[Table[2^(2^n) + 51, {n, 0, 10}], PrimeQ] (* Vincenzo Librandi, May 31 2016 *)
-
PARI
g(n,m) = for(x=0,n,y=2^(2^x)+m;if(ispseudoprime(y),print1(y",")))
Comments