Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117587
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117587 Numbers n such that 2^prime(n) - prime(n)^2 is prime. +0
1
3, 4, 7, 8, 16, 23, 49, 89, 331, 497, 1122, 11222 (list; graph; listen)
OFFSET

1,1

COMMENT

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

PROGRAM

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

CROSSREFS

Cf. A072180.

Sequence in context: A112062 A037013 A050069 this_sequence A130420 A101715 A075773

Adjacent sequences: A117584 A117585 A117586 this_sequence 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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research