login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A267150
Number of OFF (white) cells in the n-th iteration of the "Rule 105" elementary cellular automaton starting with a single ON (black) cell.
1
0, 3, 2, 5, 6, 9, 8, 11, 14, 9, 12, 15, 20, 15, 18, 21, 30, 9, 28, 15, 32, 27, 30, 33, 44, 15, 38, 25, 46, 33, 40, 43, 62, 9, 60, 15, 64, 27, 62, 33, 72, 27, 58, 45, 74, 45, 60, 63, 92, 15, 86, 25, 90, 45, 84, 55, 102, 33, 84, 55, 100, 63, 82, 85, 126, 9
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
MATHEMATICA
rule=105; 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 *)
CROSSREFS
Cf. A267145.
Sequence in context: A277680 A303764 A079973 * A055922 A194072 A194105
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 11 2016
STATUS
approved