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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A227346 Distance between consecutive pairs of primes differing by 6 (p, p+6). 2
2, 4, 2, 4, 6, 8, 6, 4, 6, 6, 8, 6, 6, 10, 14, 4, 2, 4, 24, 20, 6, 10, 6, 18, 2, 30, 4, 6, 18, 6, 6, 8, 6, 30, 4, 20, 16, 6, 14, 6, 10, 50, 10, 14, 4, 42, 38, 16, 6, 8, 16, 6, 8, 6, 6, 28, 6, 6, 24, 50, 6, 18, 70, 2, 30, 4, 20, 4, 60, 6, 24, 6, 14, 22, 20, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Eric Weisstein's World of Mathematics, Sexy Primes

Eric Weisstein's World of Mathematics, Prime Constellation

FORMULA

a(n) = A023201(n+1) - A023201(n). - Zak Seidov, Sep 20 2013

MAPLE

with(numtheory): pre:=0: for n from 1 to 3000 do if isprime(n) and isprime(n+6) then if pre<>0 then printf("%d, ", n-pre) fi: pre:=n fi od: # adapted from original program by C. Ronaldo for A053320

MATHEMATICA

Differences[Select[Prime[Range[200]], PrimeQ[# + 6] &]] (* T. D. Noe, Jul 09 2013 *)

CROSSREFS

Cf. A023201 (n and n+6 are primes).

Cf. A053320 (differences for Cousin primes).

Sequence in context: A128859 A047975 A112791 * A296141 A286536 A318768

Adjacent sequences:  A227343 A227344 A227345 * A227347 A227348 A227349

KEYWORD

nonn

AUTHOR

Luca Pezzullo, Jul 08 2013

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 06:08 EDT 2019. Contains 322381 sequences. (Running on oeis4.)