OFFSET
0,4
COMMENTS
a(n) is the number of length-n "growth-restricted" strings over the alphabet {0,1,...,n-1} that are also Lyndon words. A string is "growth restricted" if every letter is at most one more than the maximum of all preceding letters, and is enumerated by the Bell numbers (A000110). A string is "Lyndon" if it is lexicographically smaller than all its cyclic shifts.
EXAMPLE
For n = 3 we have a(3) = 3, since the 5 growth-restricted strings of length 3 are 000, 001, 010, 011, 012, and 000 and 010 are not Lyndon.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jeffrey Shallit, Jan 23 2015
EXTENSIONS
a(12)-a(13) from Alois P. Heinz, Jan 23 2015
STATUS
approved