login
A267149
Total number of ON (black) cells after n iterations of the "Rule 105" elementary cellular automaton starting with a single ON (black) cell.
1
1, 1, 4, 6, 9, 11, 16, 20, 23, 33, 42, 50, 55, 67, 78, 88, 91, 117, 126, 150, 159, 175, 190, 204, 209, 245, 260, 290, 301, 327, 348, 368, 371, 429, 438, 494, 503, 551, 566, 612, 621, 677, 704, 746, 761, 807, 840, 872, 877, 961, 976, 1054, 1069, 1131, 1156
OFFSET
0,3
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[Total[Take[nbc, k]], {k, 1, rows}] (* Number of Black cells through stage n *)
CROSSREFS
Cf. A267145.
Sequence in context: A332587 A003259 A020935 * A198696 A219612 A258743
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 11 2016
STATUS
approved