login

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

Positions of 1 in A289174; complement of A289175.
3

%I #4 Jun 29 2017 14:56:41

%S 3,6,7,8,11,13,14,15,18,21,23,24,25,30,33,34,35,36,38,39,42,44,49,51,

%T 52,53,55,56,57,59,60,61,64,69,73,76,77,78,79,81,82,83,84,86,87,88,89,

%U 91,92,93,98,102,105,106,109,112,113,114,117,118,120,121,122

%N Positions of 1 in A289174; complement of A289175.

%C Conjecture: a(n)/n -> 1.8..., and if m denotes this number, then -2 < m - a(n)/n < 1 for n >= 1.

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

%t z = 11; (* number of iterates *)

%t s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];

%t w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "100", "10" -> "011"}]

%t TableForm[Table[w[n], {n, 0, 10}]]

%t st = ToCharacterCode[w[z]] - 48 (* A289174 *)

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

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

%Y Cf. A289174, A289175, A289177.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 29 2017