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

 

Logo

The October issue of the Notices of the Amer. Math. Soc. has an article about the OEIS.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089637 Smallest member of a pair of consecutive twin prime pairs that have exactly n primes between them. 0
17, 41, 107, 71, 2267, 1091, 461, 1319, 1151, 347, 5741, 2999, 5279, 10139, 1487, 9461, 881, 659, 13007, 9041, 15359, 8627, 28751, 13397, 18539, 14627, 26261, 24419 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

LINKS

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

PROG

(PARI) pbetweentw(n, p) = \p is the number of primes between { for(p=1, 100, forstep(x1=1, n, 1, c=0; t1 = twin[x1]; t2 = twin[x1+1]; for(y=t1+4, t2-1, if(isprime(y), c++) ); if(c==p, print1(t1", "); break) ) ) } savetwins(n) = Build a twin prime table of lower bounds { twin = vector(n); c=1; forprime(x=3, n*10, if(isprime(x+2), twin[c]=x; c++; ) ) }

CROSSREFS

Sequence in context: A155072 A243451 A145991 * A139961 A188661 A205171

Adjacent sequences:  A089634 A089635 A089636 * A089638 A089639 A089640

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard, Jan 01 2004

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 September 24 22:27 EDT 2018. Contains 315360 sequences. (Running on oeis4.)