login
Positions of 1 in A286336; complement of A286337.
3

%I #4 May 09 2017 17:38:56

%S 5,6,9,14,16,17,23,24,27,29,30,36,41,42,45,50,52,53,59,64,65,68,70,71,

%T 77,78,81,86,88,89,95,96,99,101,102,108,113,114,117,119,120,126,127,

%U 130,135,137,138,144,149,150,153,158,160,161,167,168,171,173,174

%N Positions of 1 in A286336; complement of A286337.

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

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

%e As a word, A286336 = 0000110010000101100000110..., in which 1 is in positions 5,6,9,14,16,...

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

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

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

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

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

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

%Y Cf. A010060, A286336, A286337.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 09 2017