login
A262867
Total number of ON (black) cells after n iterations of the "Rule 153" elementary cellular automaton starting with a single ON (black) cell.
2
1, 2, 5, 8, 15, 22, 31, 38, 53, 68, 85, 100, 121, 140, 161, 176, 207, 238, 271, 302, 339, 374, 411, 442, 487, 530, 575, 614, 663, 706, 751, 782, 845, 908, 973, 1036, 1105, 1172, 1241, 1304, 1381, 1456, 1533, 1604, 1685, 1760, 1837, 1900, 1993, 2084, 2177
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
MATHEMATICA
rule=153; 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. A262855.
Sequence in context: A261543 A307190 A183409 * A024808 A238619 A323285
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 17 2016
STATUS
approved