|
|
|
|
2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 43, 45, 46, 47, 48, 49, 50, 52, 53, 55, 56, 57, 59, 60, 61, 62, 63, 65, 66, 67, 69, 70, 72, 73, 74, 75, 76, 77, 79, 80, 81, 82, 83
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Conjecture: a(n)/n -> 5/4.
|
|
LINKS
|
Clark Kimberling, Table of n, a(n) for n = 1..10000
|
|
EXAMPLE
|
As a word, A285978 = 0110111111011011101111101..., in which 1 is in positions 2,3,5,6,7,8,...
|
|
MATHEMATICA
|
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"00" -> "1"}]
st = ToCharacterCode[w1] - 48 (* A285978 *)
Flatten[Position[st, 0]] (* A285979 *)
Flatten[Position[st, 1]] (* A285980 *)
|
|
CROSSREFS
|
Cf. A010060, A285978, A285979.
Sequence in context: A039159 A003251 A288315 * A357304 A268231 A039167
Adjacent sequences: A285977 A285978 A285979 * A285981 A285982 A285983
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Clark Kimberling, May 07 2017
|
|
STATUS
|
approved
|
|
|
|