OFFSET
1,1
COMMENTS
Also first differences of A376603 (points of nonzero curvature in the composite numbers).
EXAMPLE
The composite numbers (A002808) are:
4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, ...
with first differences (A073783):
2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, ...
with runs:
(2,2), (1,1), (2,2), (1,1), (2,2), (1,1), (2), (1,1,1,1), (2,2), (1,1,1,1), ...
with lengths (A376680):
2, 2, 2, 2, 2, 2, 1, 4, 2, 4, 1, 2, 2, 2, 1, 4, 1, 4, 2, 4, 1, 2, 2, 4, 1, 2, ...
MATHEMATICA
Length/@Split[Differences[Select[Range[100], CompositeQ]]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 10 2024
STATUS
approved