login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057663 Primes p such that p+2^p is also a prime. 3
3, 5, 89, 317, 701 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Different from A056206, where e.g. at n=89, 89 is not minimal, A056206(89)=29 and not 89.

a(6) > 27479 - Ralf Stephan (ralf(AT)ark.in-berlin.de), Oct 23 2002

EXAMPLE

q=3, 2^3+3 = 11 a prime.

MATHEMATICA

f[p_]:=2^p+p; lst={}; Do[p=Prime[n]; If[PrimeQ[f[p]], Print[p]; AppendTo[lst, p]], {n, 2*6!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 22 2009]

PROG

(PARI) \ p^q + q is prime q is prime ptoqpq2(p, n)= { local(x, y, q); for(x=1, n, q=prime(x); y=p^q+q; if(ispseudoprime(y), print1(q", ")) ) } (Cino Hilliard)

(MAGMA) [p: p in PrimesUpTo(1000) | IsPrime(2^p+p) ] [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Aug 07 2010]

CROSSREFS

Cf. A056206, A056208, A057664, A057665.

Sequence in context: A144617 A107655 A133660 * A056244 A173487 A103081

Adjacent sequences:  A057660 A057661 A057662 * A057664 A057665 A057666

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Oct 16 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 05:09 EST 2012. Contains 205570 sequences.