login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A048614 Number of primes between successive pairs of twin primes. 13
0, 0, 0, 1, 1, 2, 1, 4, 0, 3, 0, 4, 0, 0, 2, 1, 3, 1, 2, 3, 10, 0, 4, 7, 4, 3, 2, 1, 2, 18, 0, 0, 2, 2, 17, 0, 1, 0, 2, 6, 9, 3, 1, 1, 1, 8, 3, 2, 0, 15, 1, 4, 1, 1, 7, 7, 0, 4, 0, 4, 3, 4, 0, 1, 0, 1, 7, 2, 5, 1, 5, 18, 2, 5, 4, 3, 1, 5, 1, 18, 0, 12, 2, 8, 0, 1, 4, 2, 0, 0, 5, 0, 4, 1, 1, 1, 9, 10, 4, 2, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,6

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

FORMULA

a(n) = A027833(n)-2 for n>1. - T. D. Noe, Feb 28 2007

EXAMPLE

a(8)= 4 because between the 8th and 9th pairs of twins there are 4 primes: (71,73) 79 83 89 97 (101,103).

MATHEMATICA

t1=Select[Prime[Range[3, 542]], PrimeQ[#+2]&]; Prepend[Table[PrimePi[t1[[i+1]]]-PrimePi[t1[[i]]]-2, {i, 1, Length[t1]-1}], 0] (* Jayanta Basu, May 26 2013 *)

CROSSREFS

Cf. A001223, A027833.

Sequence in context: A220504 A087569 A341509 * A001442 A226952 A158285

Adjacent sequences:  A048611 A048612 A048613 * A048615 A048616 A048617

KEYWORD

nonn,easy

AUTHOR

Den Roussel (DenRoussel(AT)webtv.net)

EXTENSIONS

Corrected and extended by Labos Elemer, Mar 23 2000

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 December 5 12:24 EST 2021. Contains 349557 sequences. (Running on oeis4.)