OFFSET
1,1
COMMENTS
An antirun of a sequence (in this case A361102) is an interval of positions at which consecutive terms differ by more than one.
LINKS
EXAMPLE
The maximal antiruns of non-prime-powers begin:
1 6 10 12 14
15 18 20
21
22 24 26 28 30 33
34
35
36 38
39
40 42 44
45
46 48 50
51
52 54
55
56
57
58 60 62
63 65
MATHEMATICA
Total/@Split[Select[Range[100], !PrimePowerQ[#]&], #1+1!=#2&]//Most
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 17 2024
STATUS
approved