A081296 Primes of the form 2^k - k.
2, 5, 503, 8179, 524269, 2097131, 36028797018963913, 3705346855594118253554271520278013051304639509300498049262642688253220148477691
Offset: 1
Keywords
Crossrefs
Cf. A048744 (k such that 2^k - k is prime).
Programs
-
Mathematica
Select[Table[2^n-n,{n,300}],PrimeQ] (* Harvey P. Dale, Nov 24 2018 *)
-
PARI
{ for(k=1,100000, if(isprime(2^k-k), print1(2^k-k,", ")));} \\ R. J. Mathar, Jul 15 2007
Formula
Extensions
More terms from R. J. Mathar, Jul 15 2007
Comments