A075896 Primes of the form 2^k - k^2.
7, 79, 431, 130783, 523927, 2251799813682647, 9007199254738183, 2417851639229258349405791, 9671406556917033397642519, 664613997892457936451903530140158127, 784637716923335095479473677900958302012794430558004278391
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..20
Programs
-
Magma
[a: n in [1..200] | IsPrime(a) where a is 2^n-n^2]; // Vincenzo Librandi, Dec 07 2011
-
Mathematica
Select[Table[2^n - n^2, {n, 500}], PrimeQ] (* Vincenzo Librandi, Dec 07 2011 *)
-
PARI
for(n=2,10^7,if(isprime(2^n-n^2),print1(2^n-n^2",")))
Formula
Extensions
More terms from Ralf Stephan, Mar 30 2003