OFFSET
1,1
COMMENTS
Prime gaps are differences between adjacent prime numbers.
Essentially the same as A145024. - R. J. Mathar, Mar 16 2020
FORMULA
EXAMPLE
The prime gaps split into the following subsequences without adjacent equal terms: (1,2), (2,4,2,4,2,4,6,2,6,4,2,4,6), (6,2,6,4,2,6,4,6,8,4,2,4,2,4,14,4,6,2,10,2,6), (6,4,6), (6,2,10,2,4,2,12), (12,4,2,4,6,2,10,6), ...
MATHEMATICA
Length/@Split[Differences[Array[Prime, 100]], UnsameQ]//Most
CROSSREFS
KEYWORD
nonn,hear
AUTHOR
Gus Wiseman, Mar 15 2020
STATUS
approved