|
|
A289016
|
|
Fixed point of the mapping 00->0010, 01->010, 10->000, starting with 00.
|
|
4
|
|
|
0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 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 A289019.
|
|
LINKS
|
|
|
EXAMPLE
|
The first six iterates of the mapping:
00
0010
0010000
001000000100
0010000001000100100010
001000000100010010001001000100000010000
|
|
MATHEMATICA
|
z = 11; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "010", "10" -> "000"}]
TableForm[Table[w[n], {n, 0, 10}]]
st = ToCharacterCode[w[z]] - 48 (* A289016 *)
Flatten[Position[st, 0]] (* A289017 *)
Flatten[Position[st, 1]] (* A289018 *)
Table[StringLength[w[n]], {n, 0, 20}] (* A289019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|