login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A286341 Positions of 1 in A286339; complement of A286340. 3

%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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)