Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #4 May 09 2017 17:39:16
%S 2,5,6,9,11,14,16,17,20,23,24,27,29,30,33,36,38,41,42,45,47,50,52,53,
%T 56,59,61,64,65,68,70,71,74,77,78,81,83,86,88,89,92,95,96,99,101,102,
%U 105,108,110,113,114,117,119,120,123,126,127,130,132,135,137
%N Positions of 1 in A286339; complement of A286340.
%C a(n) - a(n-1) is in {1,2,3} for n>=2. Conjecture: a(n)/n -> 9/4.
%H Clark Kimberling, <a href="/A286341/b286341.txt">Table of n, a(n) for n = 1..10000</a>
%e As a word, A286339 = 01001100101001011001001100..., in which 1 is in positions 2,5,6,9,11,...
%t s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
%t w = StringJoin[Map[ToString, s]]
%t w1 = StringReplace[w, {"1101" -> "1"}]
%t st = ToCharacterCode[w1] - 48 (* A286339 *)
%t Flatten[Position[st, 0]] (* A286340 *)
%t Flatten[Position[st, 1]] (* A286341 *)
%Y Cf. A010060, A286339, A286340.
%K nonn,easy
%O 1,1
%A _Clark Kimberling_, May 09 2017