Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087394
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087394 Prime(prime(n)) when prime(prime(n)) and n are twin primes. +0
1
11, 31, 59, 179, 599, 1063, 1153, 1787, 2381, 4091, 4273, 5869, 6661, 9461, 9859, 14867, 15641, 17987, 20773, 20899, 27689, 30557, 39239, 43651, 43889, 61979, 63391, 66749, 66851, 68821, 84347, 96797, 104471, 111271, 132949, 146989, 157771 (list; graph; listen)
OFFSET

3,1

EXAMPLE

prime(103) = 563. prime(563) = 4091. 103 and 4091 are twin primes.

PROGRAM

(PARI) twips(n) = { c1=0; c2=0; forprime(x=3, n, if(isprime(x+2), c1++); x1=prime(prime(x)); if(isprime(x-2) || isprime(x+2), if(isprime(x1-2) || isprime(x1+2), print1(x1", "); c2++; ) ) ); print(); print(c2/c1+.0) }

CROSSREFS

Sequence in context: A144364 A031372 A028877 this_sequence A040162 A113747 A125239

Adjacent sequences: A087391 A087392 A087393 this_sequence A087395 A087396 A087397

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Oct 21 2003

page 1

Search completed in 0.006 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 November 27 14:50 EST 2009. Contains 167570 sequences.


AT&T Labs Research