|
Search: id:A089637
|
|
|
| A089637 |
|
Smallest member of a pair of consecutive twin prime pairs that have exactly n primes between them. |
|
+0 1
|
|
| 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; listen)
|
|
|
OFFSET
|
3,1
|
|
|
PROGRAM
|
(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: A070179 A155072 A145991 this_sequence A139961 A070183 A165668
Adjacent sequences: A089634 A089635 A089636 this_sequence A089638 A089639 A089640
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Jan 01 2004
|
|
|
Search completed in 0.002 seconds
|