|
|
A269717
|
|
Partial sums 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
|
|
|
1, 6, 14, 34, 50, 94, 126, 214, 246, 338, 402, 586, 650, 834, 962, 1330, 1394, 1582, 1710, 2086, 2214, 2590, 2846, 3598, 3726, 4102, 4358, 5110, 5366, 6118, 6630, 8134, 8262, 8642, 8898, 9658, 9914, 10674, 11186, 12706, 12962, 13722, 14234, 15754, 16266
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
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[Total[Part[on, Range[1, i]]], {i, 1, Length[on]}] (* Sum at each stage *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|