login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A335597
Length of shortest string having n distinct letters and containing no 4-antipowers.
0
1, 2, 3, 5, 6, 10, 16, 52
OFFSET
1,2
COMMENTS
A 4-antipower consists of 4 consecutive blocks of the same length that are pairwise distinct. For example, 01021210 = (01)(02)(12)(10) is a 4-antipower.
EXAMPLE
Here are the lexicographically least examples for 1 <= n <= 8:
1: 0
2: 01
3: 012
4: 01123
5: 012234
6: 0121213345
7: 0112333333334456
8: 0112333333333333333333333333333333333334333333335567
CROSSREFS
Cf. A275061.
Sequence in context: A018727 A161715 A347799 * A374427 A164523 A375734
KEYWORD
nonn,more
AUTHOR
Jeffrey Shallit, Jun 14 2020
STATUS
approved