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”).

A226893
Number of binary Lyndon words of length n having a conjugate at Hamming distance 2.
1
0, 1, 2, 3, 6, 9, 14, 20, 26, 40, 42, 72, 62, 123, 102, 208, 114, 405, 146, 668, 290, 1201, 222, 2504, 316, 4356, 800, 8580, 366, 17866, 422, 33312, 2514, 66010, 990, 135960, 614, 262749, 8870, 526256, 762, 1066044, 842
OFFSET
1,3
COMMENTS
A Lyndon word is an aperiodic word that is lexicographically least in its conjugacy class (of cyclic shifts). A conjugate is a cyclic shift. Hamming distance is the number of positions in which two strings differ.
FORMULA
a(n) = A179674(n) / n. - Falk Hüffner, Aug 15 2021
EXAMPLE
a(7) = 14, because there are 18 binary Lyndon words of length 7, and all but the following 4 have a conjugate at Hamming distance 2: 0001011, 0001101, 0010111, 0011101.
From Joerg Arndt, Jun 21 2013: (Start)
There are a(8) = 20 Lyndon words of length 8 that have a conjugate at Hamming distance 2 (dots for zeros):
ct: word conjugate word XOR conjugate
01: 1....... .1...... 11......
02: 11...... .11..... 1.1.....
03: 1.1..... ..1.1... 1...1...
04: 111..... .111.... 1..1....
05: 1..1.... ...1..1. 1.....1.
06: 1111.... .1111... 1...1...
07: 11..1... 1...11.. .1...1..
08: 1.1.1... ..1.1.1. 1.....1.
09: 1..11... 1...1..1 ...1...1
10: 11111... .11111.. 1....1..
11: 1.1..1.. 1..1.1.. ..11....
12: 1.11.1.. 1..1.11. ..1...1.
13: 111.11.. 11..111. ..1...1.
14: 11.111.. 11..11.1 ...1...1
15: 111111.. .111111. 1.....1.
16: 111.1.1. 1.111.1. .1.1....
17: 11.11.1. .1.11.11 1......1
18: 11111.1. 1.11111. .1...1..
19: 1111.11. 11.1111. ..1.1...
20: 1111111. .1111111 1......1
(End)
CROSSREFS
Sequence in context: A073736 A101593 A349502 * A084628 A325269 A002096
KEYWORD
nonn,more
AUTHOR
Jeffrey Shallit, Jun 21 2013
EXTENSIONS
More terms from Joerg Arndt, Jun 21 2013 and Jun 26 2013
STATUS
approved