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!)
A289011 Fixed point of the mapping 00->0010, 01->001, 10->100, starting with 00. 4
0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
The number of letters (0's and 1's) in the n-th iterate of the mapping is given by A289010.
LINKS
EXAMPLE
The first seven iterates of the mapping:
00
0010
0010100
00101001000
001010010000100100
0010100100001001000101000010010
0010100100001001000101000010010001001001000101000010
MATHEMATICA
z = 11; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "001", "10" -> "100"}]
TableForm[Table[w[n], {n, 0, 10}]]
st = ToCharacterCode[w[z]] - 48 (* A289011 *)
Flatten[Position[st, 0]] (* A289012 *)
Flatten[Position[st, 1]] (* A289013 *)
Table[StringLength[w[n]], {n, 0, 20}] (* A289000 *)
CROSSREFS
Sequence in context: A285666 A120325 A285139 * A289071 A287931 A289074
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 26 2017
STATUS
approved

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 24 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)