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”).

A267368
Total number of ON (black) cells after n iterations of the "Rule 126" elementary cellular automaton starting with a single ON (black) cell.
1
1, 4, 8, 15, 19, 27, 35, 50, 54, 62, 70, 86, 94, 110, 126, 157, 161, 169, 177, 193, 201, 217, 233, 265, 273, 289, 305, 337, 353, 385, 417, 480, 484, 492, 500, 516, 524, 540, 556, 588, 596, 612, 628, 660, 676, 708, 740, 804, 812, 828, 844, 876, 892, 924, 956
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
MATHEMATICA
rule=126; 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. A071035.
Sequence in context: A312741 A312742 A312743 * A345096 A190692 A309322
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 13 2016
STATUS
approved