OFFSET
1,1
COMMENTS
Partition the primes into pairs starting with 3: (3, 5), (7, 11), (13, 17), (19, 23), (29, 31), (37, 41), (43, 47). Sequence gives differences between pairs.
A bisection of A001223.
FORMULA
a(n) = A001223(2*n).
MATHEMATICA
Table[Prime[2n + 1] - Prime[2n], {n, 100}] (* Robert G. Wilson v, May 29 2004 *)
Differences/@Partition[Prime[Range[2, 200]], 2]//Flatten (* Harvey P. Dale, Sep 22 2019 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Zak Seidov, Oct 05 2003
EXTENSIONS
Edited by Robert G. Wilson v, May 29 2004
Offset corrected. - R. J. Mathar, Feb 23 2017
STATUS
approved