OFFSET
1,1
COMMENTS
An antirun of a sequence (in this case A246655) is an interval of positions at which consecutive terms differ by more than one.
LINKS
EXAMPLE
The maximal antiruns of powers of primes begin:
2
3
4
5 7
8
9 11 13 16
17 19 23 25 27 29 31
MATHEMATICA
Total/@Split[Select[Range[1000], PrimePowerQ], #1+1!=#2&]//Most
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Jun 17 2024
EXTENSIONS
a(14) from Giorgos Kalogeropoulos, Jun 18 2024
STATUS
approved