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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117587 Numbers n such that 2^prime(n) - prime(n)^2 is prime. 1
3, 4, 7, 8, 16, 23, 49, 89, 331, 497, 1122, 11222 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

No more terms below 5000. -Giovanni Resta (g.resta(AT)iit.cnr.it), Apr 03 2006

p is a prime element of the sequence A072180 iff pi(p) is a term of A117587. So since 119087 is a prime term of A072180, pi(119087)= 11222 is in the sequence. - Farideh Firoozbakht (mymontain(AT)yahoo.com), Dec 08 2006

EXAMPLE

4 is in the sequence because the 4th prime is 7 and 2^7-7^2=79 is a prime.

MAPLE

a:=proc(n) if isprime(2^ithprime(n)-ithprime(n)^2)=true then n else fi end: seq(a(n), n=1..400); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 06 2006

PROG

(PARI) for(i=1, 100, if(isprime(2^prime(i)-prime(i)^2), print1(i, ", ")))

CROSSREFS

Cf. A072180.

Sequence in context: A112062 A037013 A050069 * A130420 A169943 A101715

Adjacent sequences:  A117584 A117585 A117586 * A117588 A117589 A117590

KEYWORD

hard,more,nonn

AUTHOR

Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), Apr 03 2006

EXTENSIONS

3 more terms from Giovanni Resta (g.resta(AT)iit.cnr.it), Apr 03 2006

One more term from Farideh Firoozbakht (mymontain(AT)yahoo.com), Dec 08 2006

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 15 12:04 EST 2012. Contains 205782 sequences.