Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A127567
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A127567 Given k, the product of the first n primes and starting with the first prime at least 3 greater than k, a(n) is the number of consecutive primes where p-k is also prime. +0
2
2, 6, 10, 19, 25, 29, 36, 42, 43, 41, 63, 65, 45, 69, 86, 98, 90, 77, 94, 132, 118, 112, 132, 120, 131, 133, 150, 128, 203, 220, 163, 175, 161, 176, 168, 171, 206, 233, 236, 250, 201, 230, 293, 270, 297, 283, 256, 253, 272, 318, 266, 277, 296, 308, 349, 353, 312 (list; graph; listen)
OFFSET

1,1

LINKS

http://h.xerol.org/f/1primecheck.txtShows applicable sequences of primes for n=2..9

EXAMPLE

For n = 2, k = 2*3 = 6. The first prime at least 3 greater than 6 is 11.

11-6 = 5, 13-6 = 7, 17-6 = 11, 19-6 = 13, 23-6 = 17, 29-6 = 23, all of which are primes. 31-6 = 25 is not prime, so a(2) = 6 because there are 6 prime terms.

MAPLE

with(numtheory): a:=proc(n) local k, p, c, ct, j: k:=product(ithprime(i), i=1..n); p:=nextprime(k+2); c:=pi(p): ct:=0: for j from c while isprime(ithprime(j)-k)=true do ct:=ct+1: od: ct; end: seq(a(n), n=1..9); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 13 2007

CROSSREFS

Sequence in context: A084481 A006553 A054273 this_sequence A005993 A028247 A065054

Adjacent sequences: A127564 A127565 A127566 this_sequence A127568 A127569 A127570

KEYWORD

nonn

AUTHOR

Ellis M. Eisen (xerol(AT)xerol.org), Apr 02 2007

EXTENSIONS

Corrected by Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 13 2007

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 23 2007

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 December 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research