OFFSET
0,3
COMMENTS
Indexing starts from zero, because a(0) = 0 is a special case.
These numbers correspond to the maximal (lexicographically largest) representatives selected from each equivalence class of those binary necklaces that stay the same (in the same equivalence class) when flipped over (which thus have a bilateral symmetry, please see the examples). A029744(n) gives the number of terms with n significant bits in their binary representation.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..5117
EXAMPLE
28 ("11100" in binary) is in sequence, because after removing the most significant bit, the binary string "1100" when reversed, "0011", can then be rotated (two steps in either direction) to give "1100" again and "1100" is the lexicographically largest of these rotations.
114 ("1110010" in binary) is NOT in the sequence, because after removing the most significant bit, the binary string "110010" when reversed, "010011", does not yield "110010" no matter how many steps it is rotated (even though it is the lexicographically largest rotation of its class). Thus although 114 is in A257250 (a supersequence of this sequence), it is not included here.
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, May 31 2015
STATUS
approved