login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A088110
Numbers n such that 2^n + n and 2^n - n are noncomposite.
0
OFFSET
1,3
COMMENTS
Conjecture: sequence is finite.
No more terms < 88075. - David Wasserman, Jul 20 2005
EXAMPLE
9 is a member as 2^9 + 9 = 521 and 2^9 - 9 = 503 are primes.
MATHEMATICA
Join[{0, 1}, Select[Range[1000], PrimeQ[2^# + #] && PrimeQ[2^# -#] &]] (* Vincenzo Librandi, Dec 08 2015 *)
PROG
(Magma) [0, 1] cat [n: n in [0..1000] | IsPrime(2^n+n) and IsPrime(2^n-n)]; // Vincenzo Librandi, Dec 08 2015
CROSSREFS
Sequence in context: A278974 A063103 A058847 * A122759 A247042 A274400
KEYWORD
more,nonn
AUTHOR
Amarnath Murthy, Sep 25 2003
STATUS
approved