login
Positions of 0 in A287722; complement of A287724.
4

%I #4 Jun 02 2017 15:02:24

%S 2,4,7,9,11,13,16,18,21,23,25,27,30,32,34,36,39,41,44,46,48,50,53,55,

%T 58,60,62,64,67,69,71,73,76,78,81,83,85,87,90,92,94,96,99,101,104,106,

%U 108,110,113,115,118,120,122,124,127,129,131,133,136,138,141

%N Positions of 0 in A287722; complement of A287724.

%C Conjecture: -1 < n*r - a(n) < 1 for n >= 1, where r = (7 + sqrt(5))/4.

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

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

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

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

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

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

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

%Y Cf. A287722, A287724.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 02 2017