login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Positions of 0 in A285975; complement of A285977.
3

%I #4 May 06 2017 19:55:26

%S 1,4,6,9,11,14,16,18,21,24,26,29,31,34,37,39,41,44,46,49,51,54,56,58,

%T 61,64,66,68,71,73,76,78,81,84,86,89,91,94,96,98,101,104,106,109,111,

%U 114,117,119,121,124,126,129,131,134,137,139,142,144,147,149

%N Positions of 0 in A285975; complement of A285977.

%C Conjecture: a(n)/n -> 5/2.

%H Clark Kimberling, <a href="/A285976/b285976.txt">Table of n, a(n) for n = 1..10000</a>

%e As a word, A285975 = 011010110101101010110110..., in which 0 is in positions 1,4,6,9,11,...

%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)

%t w = StringJoin[Map[ToString, s]]

%t w1 = StringReplace[w, {"00" -> "0"}]

%t st = ToCharacterCode[w1] - 48 (* A285975 *)

%t Flatten[Position[st, 0]] (* A285976 *)

%t Flatten[Position[st, 1]] (* A285977 *)

%Y Cf. A010060, A285975, A285977.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 06 2017