[go: up one dir, main page]

login
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
OFFSET
0,1
COMMENTS
Row n has length 2n+1.
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; Chapter 3.
EXAMPLE
From Michael De Vlieger, Oct 05 2015: (Start)
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.
Sequence in context: A352677 A130630 A059318 * A071030 A355938 A268240
KEYWORD
nonn,tabf
AUTHOR
Hans Havermann, May 26 2002
EXTENSIONS
Corrected by Hans Havermann, Jan 07 2012
STATUS
approved