A268210 Primes p of the form 2^k + 1 such that p - k is a prime q (for k >= 0).
2, 3, 5, 17, 65537
Offset: 1
Keywords
Examples
Prime 17 = 2^4 + 1 is a term because 17 - 4 = 13 (prime). 257 = 2^8 + 1 is not a term because 257 - 8 = 249 (composite number).
Programs
-
Magma
[2^k + 1: k in [0..60] | IsPrime(2^k + 1) and IsPrime(2^k - k + 1)];
-
Mathematica
2^# + 1 &@ Select[Range[0, 600], PrimeQ[2^# + 1] && PrimeQ[2^# - # + 1] &] (* Michael De Vlieger, Jan 29 2016 *)
Comments