OFFSET
1,2
COMMENTS
Run-lengths of A251092.
LINKS
EXAMPLE
The odd primes begin:
3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, ...
with runs:
3 5 7
11 13
17 19
23
29 31
37
41 43
47
53
59 61
67
71 73
with lengths:
3, 2, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, ...
which have runs beginning:
3
2 2
1
2
1
2
1 1
2
1
2
1 1 1 1
2 2
1 1 1
with lengths a(n).
MATHEMATICA
Length/@Split[Length/@Split[Select[Range[3, 1000], PrimeQ], #1+2==#2&]//Most]//Most
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 20 2024
STATUS
approved