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

 


Positions of 1 in A289016; complement of A289017.
3

%I #6 Jun 26 2017 22:16:49

%S 3,10,14,17,21,24,28,35,41,45,48,52,56,60,67,71,78,84,88,91,95,98,102,

%T 105,109,113,117,124,131,135,138,142,146,149,153,156,160,167,173,177,

%U 180,184,191,198,205,212,216,219,223,227,231,238,244,248,251,255

%N Positions of 1 in A289016; complement of A289017.

%C Conjecture: a(n)/n -> 4.55..., and if m denotes this numbrer, then -1 < m - a(n)/n < -3 + m for n >= 1.

%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" -> "010", "10" -> "000"}]

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

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

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

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

%Y Cf. A289016, A289017.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Jun 26 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 24 05:38 EDT 2024. Contains 376185 sequences. (Running on oeis4.)