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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087373 Twin-prime-indexed primes (TWIPS). 0
5, 11, 17, 31, 41, 59, 109, 179, 191, 283, 599, 859, 1063, 1153, 1723, 2081, 2341, 3001, 3259, 3299, 4421, 4549, 4787, 4933, 6361, 6661, 8221, 8233, 8389, 10009, 10457, 10861, 13693, 13709, 16141, 16693, 16901, 17387, 17659, 20441, 20477, 20773 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

COMMENTS

If there are infinitely many twin primes, this sequence has an infinite number of terms.

LINKS

Table of n, a(n) for n=3..44.

EXAMPLE

17 is a twin prime paired with 19. The 17th prime is 59 which is also a twin prime paired with 61.

PROG

(PARI) twips(n) = { forprime(x=3, n, x1=prime(x); if(isprime(x-2) || isprime(x+2), if(isprime(x1-2) || isprime(x1+2), print1(x1", ") ) ) ) }

CROSSREFS

Sequence in context: A136292 A088046 A155882 * A155030 A030468 A277290

Adjacent sequences:  A087370 A087371 A087372 * A087374 A087375 A087376

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard, Oct 21 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified August 16 11:12 EDT 2017. Contains 290623 sequences.