|
|
A269718
|
|
First differences of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 22", based on the 5-celled von Neumann neighborhood.
|
|
1
|
|
|
4, 3, 12, -4, 28, -12, 56, -56, 60, -28, 120, -120, 120, -56, 240, -304, 124, -60, 248, -248, 248, -120, 496, -624, 248, -120, 496, -496, 496, -240, 992, -1376, 252, -124, 504, -504, 504, -248, 1008, -1264, 504, -248, 1008, -1008, 1008, -496, 2016, -2784
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Initialized with a single black (ON) cell at stage zero.
|
|
REFERENCES
|
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 170.
|
|
LINKS
|
|
|
MATHEMATICA
|
rule=22; stages=300;
ca=CellularAutomaton[{rule, {2, {{0, 2, 0}, {2, 1, 2}, {0, 2, 0}}}, {1, 1}}, {{{1}}, 0}, stages]; (* Start with single black cell *)
on=Map[Function[Apply[Plus, Flatten[#1]]], ca] (* Count ON cells at each stage *)
Table[on[[i+1]]-on[[i]], {i, 1, Length[on]-1}] (* Difference at each stage *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|