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.
LINKS
Tim Peters, Table of n, a(n) for n = 0..33 (terms 0..29 from Martin Fuller).
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
AUTHOR
Jeffrey Shallit, Jan 23 2015
EXTENSIONS
a(12)-a(13) from Alois P. Heinz, Jan 23 2015
a(12)-a(13) corrected and a(14)-a(19) added by Joerg Arndt, Apr 19 2025
a(20)-a(25) from Martin Fuller, Apr 22 2025
STATUS
approved
