OFFSET
1,2
COMMENTS
LINKS
EXAMPLE
The maximal antiruns of squarefree numbers begin:
1
2
3 5
6
7 10
11 13
14
15 17 19 21
22
23 26 29
30
31 33
34
35 37
The a(n)-th rows are:
1
3 5
15 17 19 21
23 26 29
47 51 53 55 57
483 485 487 489 491 493
MATHEMATICA
t=Length/@Split[Select[Range[10000], SquareFreeQ], #1+1!=#2&]//Most;
Select[Range[Length[t]], FreeQ[Take[t, #-1], t[[#]]]&]
CROSSREFS
For squarefree runs we have the triple (1,3,5), firsts of A120992.
For prime runs we have the triple (1,2,3), firsts of A175632.
For composite antiruns we have the triple (1,2,7), firsts of A373403.
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Jun 10 2024
STATUS
approved