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!)
A289007 Fixed point of the mapping 00->0010, 01->001, 10->011, starting with 00. 4

%I #10 Apr 07 2020 22:08:52

%S 0,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,0,1,0,0,1,1,1,0,

%T 1,1,0,0,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,

%U 0,1,0,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0

%N Fixed point of the mapping 00->0010, 01->001, 10->011, starting with 00.

%C The number of letters (0's and 1's) in the n-th iterate of the mapping is given by A289010.

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

%e The first seven iterates of the mapping:

%e 00

%e 0010

%e 0010011

%e 00100110011

%e 00100110010110011

%e 00100110010110010010110011

%e 0010011001011001001011001001001110110011

%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" -> "001", "10" -> "011"}]

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

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

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

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

%t Table[StringLength[w[n]], {n, 0, 20}] (* A289010 *)

%Y Cf. A289008, A289009, A289010.

%K nonn,easy

%O 1

%A _Clark Kimberling_, Jun 26 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 May 12 05:37 EDT 2024. Contains 372431 sequences. (Running on oeis4.)