login
Positions of 0 in A286044; complement of A003157.
3

%I #4 May 07 2017 21:35:26

%S 1,2,4,5,6,7,9,10,12,13,15,16,17,18,20,21,22,23,25,26,27,28,30,31,33,

%T 34,36,37,38,39,41,42,44,45,47,48,49,50,52,53,55,56,58,59,60,61,63,64,

%U 65,66,68,69,70,71,73,74,76,77,79,80,81,82,84,85,86,87

%N Positions of 0 in A286044; complement of A003157.

%C Conjecture: a(n)/n -> 4/3.

%C Also, these are the positions of 0 in the {110->1}-transform of A010060.

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

%e As a word, A286044 = 001000010010010000100..., in which 0 is in positions 1,2,4,5,6,7,9,...

%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, {"011" -> "0"}]

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

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

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

%Y Cf. A010060, A286044, A003157.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 07 2017