OFFSET
1,1
COMMENTS
The numbers corresponding to k = 2037, 2221, 3547 and 5515 have been certified prime with Primo. - Rick L. Shepherd, Nov 10 2002
The remaining k's > 1000 correspond only to probable primes.
Certainly k must be odd. Let N(k) = 2^k - k^2. Additional restrictions come from the facts that 7 | N(k) if k is in {2, 4, 5, 6, 10, 15} mod 21 and 17 | N(k) if k is in {31, 57, 61, 71, 107, 109, 113, 131} mod 136. - Daniel Gronau, Jul 06 2002
Henri Lifchitz found the terms > 40000 in 2001 and 119087 in March 2002. - Hugo Pfoertner, Nov 16 2004
LINKS
Henri Lifchitz, Renaud Lifchitz, PRP Top Records 2^n-n^2.
MATHEMATICA
Do[ If[ PrimeQ[ 2^n - n^2], Print[n]], {n, 1, 22850, 2}]
PROG
(PARI) is(n)=isprime(2^n-n^2) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Daniel Gronau (Daniel.Gronau(AT)gmx.de), Jun 30 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jul 01 2002
More terms from Hugo Pfoertner, Nov 16 2004
More terms from Henri Lifchitz submitted by Ray Chandler, Mar 02 2007
STATUS
approved