login
A219606
Prime gaps and primes interleaved.
3
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, 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, 107, 4, 109, 14, 113, 4, 127, 6, 131, 2, 137, 10, 139, 2, 149, 6
OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Prime Gaps
Wikipedia, Prime gap
PROG
(Haskell)
import Data.List (transpose)
a219606 n = a219606_list !! (n-1)
a219606_list = concat $ transpose [a001223_list, a000040_list]
CROSSREFS
Cf. A134735.
Sequence in context: A003974 A065769 A280264 * A307148 A238780 A330545
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 12 2012
STATUS
approved