cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A262867 Total number of ON (black) cells after n iterations of the "Rule 153" elementary cellular automaton starting with a single ON (black) cell.

Original entry on oeis.org

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

Views

Author

Robert Price, Jan 17 2016

Keywords

References

  • S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.

Crossrefs

Cf. A262855.

Programs

  • 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 *)