login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Prime gaps and primes interleaved.
3

%I #6 Jul 13 2013 12:04:34

%S 1,2,2,3,2,5,4,7,2,11,4,13,2,17,4,19,6,23,2,29,6,31,4,37,2,41,4,43,6,

%T 47,6,53,2,59,6,61,4,67,2,71,6,73,4,79,6,83,8,89,4,97,2,101,4,103,2,

%U 107,4,109,14,113,4,127,6,131,2,137,10,139,2,149,6

%N Prime gaps and primes interleaved.

%H Reinhard Zumkeller, <a href="/A219606/b219606.txt">Table of n, a(n) for n = 1..10000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PrimeGaps.html">Prime Gaps</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Prime_gap">Prime gap</a>

%H <a href="/index/Pri#gaps">Index entries for primes, gaps between</a>

%o (Haskell)

%o import Data.List (transpose)

%o a219606 n = a219606_list !! (n-1)

%o a219606_list = concat $ transpose [a001223_list, a000040_list]

%Y Cf. A134735.

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Dec 12 2012