login
Positions of 0 in A286487; complement of A286489.
3

%I #4 May 10 2017 21:33:41

%S 1,4,6,7,13,18,19,22,24,25,31,32,35,40,42,43,49,54,55,58,63,65,66,72,

%T 73,76,78,79,85,90,91,94,96,97,103,104,107,112,114,115,121,122,125,

%U 127,128,134,139,140,143,148,150,151,157,162,163,166,168,169,175

%N Positions of 0 in A286487; complement of A286489.

%C a(n) - a(n-1) is in {1,2,3,5,6} for n>=2. Conjecture: a(n)/n -> 3.

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

%e As a word, A286487 = 01101001111101111001..., in which 0 is in positions 1,4,6,7,13,18,...

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

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

%t w1 = StringReplace[w, {"0010" -> "1"}]

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

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

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

%Y Cf. A010060, A286487, A286489.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 10 2017