|
|
|
|
1, 5, 8, 13, 17, 21, 24, 28, 32, 37, 40, 45, 49, 53, 58, 61, 65, 69, 72, 77, 81, 85, 88, 92, 96, 101, 104, 108, 112, 115, 120, 124, 128, 133, 136, 141, 145, 149, 152, 156, 160, 165, 168, 173, 177, 181, 186, 189, 193, 197, 200, 205, 209, 213, 218, 221, 226
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Conjecture: a(n)/n -> 4.
|
|
LINKS
|
|
|
EXAMPLE
|
As a word, A285972 = 011101101111011101..., in which 0 is in positions 1,5,8,13,17,...
|
|
MATHEMATICA
|
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"10" -> "1"}]
st = ToCharacterCode[w1] - 48 (* A285972 *)
Flatten[Position[st, 0]] (* A285973 *)
Flatten[Position[st, 1]] (* A285974 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|