OFFSET
1,1
COMMENTS
A circular binary word (a.k.a. "necklace") can be viewed as a representative of the equivalence class under cyclic shift.
The words counted by this sequence have 2^i distinct blocks of length i = floor(log_2 n) and n distinct blocks of length i+1.
This sequence counts a certain natural generalization of de Bruijn words, which are cyclic words of length 2^n containing all n-bit blocks as subwords.
LINKS
D. Gabric, S. Holub, and J. Shallit, Generalized de Bruijn words and the state complexity of conjugate sets, arXiv:1903.05442 [cs.FL], March 13 2019.
EXAMPLE
For n = 6 the 3 possibilities are {000111, 001011, 001101}. Each contains all 4 blocks of length 2, and 6 distinct blocks of length 3 (when considered circularly).
CROSSREFS
KEYWORD
nonn
AUTHOR
Jeffrey Shallit, Aug 01 2018
EXTENSIONS
Terms a(33)-a(48) provided by Štěpán Holub
STATUS
approved