A266383 Total number of ON (black) cells after n iterations of the "Rule 22" elementary cellular automaton starting with a single ON (black) cell.
1, 4, 6, 12, 14, 20, 24, 36, 38, 44, 48, 60, 64, 76, 84, 108, 110, 116, 120, 132, 136, 148, 156, 180, 184, 196, 204, 228, 236, 260, 276, 324, 326, 332, 336, 348, 352, 364, 372, 396, 400, 412, 420, 444, 452, 476, 492, 540, 544, 556, 564, 588, 596, 620, 636
Offset: 0
References
- S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
Links
- Robert Price, Table of n, a(n) for n = 0..1000
- Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
- Index entries for sequences related to cellular automata
- Index to Elementary Cellular Automata
Crossrefs
Cf. A071029.
Programs
-
Mathematica
rule=22; rows=60; 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[Total[Take[nbc,k]],{k,1,rows}] (* Number of Black cells through stage n *)