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
Robert Price, Table of n, a(n) for n = 0..128
Robert Price, Diagrams of the first 20 stages.
N. J. A. Sloane, On the Number of ON Cells in Cellular Automata, arXiv:1503.01168 [math.CO], 2015
Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
S. Wolfram, A New Kind of Science
MATHEMATICA
rule=33; 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 *)
l=Length[ca[[1]]]; k=(l+1)/2; s=stages; (* Limit scope to one cell growth per stage *)
ca=Table[Table[Part[ca[[n]][[j]], Range[Max[1, k+1-n], Min[l, k-1+n]]], {j, Max[1, k+1-n], Min[l, k-1+n]}], {n, 1, s+1}];
Map[Function[Apply[Plus, Flatten[#1]]], ca] (* Count ON cells at each stage *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Price, Mar 05 2016
STATUS
approved