|
|
A071029
|
|
Triangle read by rows giving successive states of cellular automaton generated by "Rule 22".
|
|
9
|
|
|
1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Row n has length 2n+1.
|
|
REFERENCES
|
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; Chapter 3.
|
|
LINKS
|
|
|
EXAMPLE
|
First 8 rows, replacing "0" with "." for better visibility of ON cells:
1
1 1 1
1 . . . 1
1 1 1 . 1 1 1
1 . . . . . . . 1
1 1 1 . . . . . 1 1 1
1 . . . 1 . . . 1 . . . 1
1 1 1 . 1 1 1 . 1 1 1 . 1 1 1
1 . . . . . . . . . . . . . . . 1
(End)
|
|
MATHEMATICA
|
clip[lst_] := Block[{p = Flatten@ Position[lst, 1]}, Take[lst, {Min@ p, Max@ p}]]; clip /@ CellularAutomaton[22, {{1}, 0}, 9] // Flatten (* Michael De Vlieger, Oct 05 2015 *)
|
|
CROSSREFS
|
For number of ON cells see A071044.
|
|
KEYWORD
|
nonn,tabf
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|