login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088110 Numbers n such that 2^n + n and 2^n - n are noncomposite. 0
0, 1, 3, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Conjecture: sequence is finite.
No more terms < 88075. - David Wasserman, Jul 20 2005
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 22 06:14 EDT 2024. Contains 375356 sequences. (Running on oeis4.)