|
|
A289007
|
|
Fixed point of the mapping 00->0010, 01->001, 10->011, starting with 00.
|
|
4
|
|
|
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, 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, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 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
0010011
00100110011
00100110010110011
00100110010110010010110011
0010011001011001001011001001001110110011
|
|
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" -> "011"}]
TableForm[Table[w[n], {n, 0, 10}]]
st = ToCharacterCode[w[z]] - 48 (* A289007 *)
Flatten[Position[st, 0]] (* A289008 *)
Flatten[Position[st, 1]] (* A289009 *)
Table[StringLength[w[n]], {n, 0, 20}] (* A289010 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|