login
First differences of 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

%I #15 Jul 28 2024 12:32:33

%S 4,3,12,-4,28,-12,56,-56,60,-28,120,-120,120,-56,240,-304,124,-60,248,

%T -248,248,-120,496,-624,248,-120,496,-496,496,-240,992,-1376,252,-124,

%U 504,-504,504,-248,1008,-1264,504,-248,1008,-1008,1008,-496,2016,-2784

%N First differences of 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.

%C Initialized with a single black (ON) cell at stage zero.

%D S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 170.

%H Robert Price, <a href="/A269718/b269718.txt">Table of n, a(n) for n = 0..299</a>

%H N. J. A. Sloane, <a href="http://arxiv.org/abs/1503.01168">On the Number of ON Cells in Cellular Automata</a>, arXiv:1503.01168 [math.CO], 2015.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/ElementaryCellularAutomaton.html">Elementary Cellular Automaton</a>

%H S. Wolfram, <a href="http://wolframscience.com/">A New Kind of Science</a>

%H <a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>

%H <a href="https://oeis.org/wiki/Index_to_2D_5-Neighbor_Cellular_Automata">Index to 2D 5-Neighbor Cellular Automata</a>

%H <a href="https://oeis.org/wiki/Index_to_Elementary_Cellular_Automata">Index to Elementary Cellular Automata</a>

%t rule=22; stages=300;

%t ca=CellularAutomaton[{rule,{2,{{0,2,0},{2,1,2},{0,2,0}}},{1,1}},{{{1}},0},stages]; (* Start with single black cell *)

%t on=Map[Function[Apply[Plus,Flatten[#1]]],ca] (* Count ON cells at each stage *)

%t Table[on[[i+1]]-on[[i]],{i,1,Length[on]-1}] (* Difference at each stage *)

%Y Cf. A269715.

%K sign,easy

%O 0,1

%A _Robert Price_, Mar 04 2016