|
|
A269560
|
|
Length of the longest squarefree and rich word over an alphabet of n letters.
|
|
0
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
A squarefree and rich word over a fixed alphabet always has bounded length (see Pelantová & Starosta). A word is squarefree if it does not contain squares as subwords, and a word of length n is rich if it contains exactly n+1 distinct palindromes (including the empty word) as subwords.
It is known that 2.008^n <= a(n) <= 2.237^n for n >= 5 (see Vesti).
|
|
LINKS
|
|
|
EXAMPLE
|
For n = 3, the longest squarefree and rich words are (up to isomorphism) 0102010 and 0121012. For n = 4, e.g., the word 010201030102010 has maximal length.
|
|
CROSSREFS
|
|
|
KEYWORD
|
hard,more,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|