%I #10 Jan 17 2016 09:58:32
%S 0,3,3,5,3,5,6,8,5,6,8,8,8,11,11,13,9,11,11,13,14,16,14,14,13,13,17,
%T 22,20,16,17,24,19,14,19,25,18,20,25,24,19,24,31,27,26,24,22,32,31,28,
%U 24,29,34,30,31,37,34,34,36,35,34,35,36,43,40,36,38,37
%N Number of OFF (white) cells in the n-th iteration of the "Rule 137" elementary cellular automaton starting with a single ON (black) cell.
%D S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
%H Robert Price, <a href="/A267518/b267518.txt">Table of n, a(n) for n = 0..1000</a>
%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_Elementary_Cellular_Automata">Index to Elementary Cellular Automata</a>
%t rule=137; rows=20; ca=CellularAutomaton[rule,{{1},0},rows-1,{All,All}]; (* Start with single black cell *) catri=Table[Take[ca[[k]],{rows-k+1,rows+k-1}],{k,1,rows}]; (* Truncated list of each row *) nbc=Table[Total[catri[[k]]],{k,1,rows}]; (* Number of Black cells in stage n *) Table[Length[catri[[k]]]-nbc[[k]],{k,1,rows}] (* Number of White cells in stage n *)
%Y Cf. A071049, A267463.
%K nonn,easy
%O 0,2
%A _Robert Price_, Jan 16 2016
|