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.

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

Original entry on oeis.org

1, 4, 6, 12, 14, 20, 24, 36, 38, 44, 48, 60, 64, 76, 84, 108, 110, 116, 120, 132, 136, 148, 156, 180, 184, 196, 204, 228, 236, 260, 276, 324, 326, 332, 336, 348, 352, 364, 372, 396, 400, 412, 420, 444, 452, 476, 492, 540, 544, 556, 564, 588, 596, 620, 636
Offset: 0

Views

Author

Robert Price, Dec 28 2015

Keywords

References

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

Crossrefs

Cf. A071029.

Programs

  • Mathematica
    rule=22; rows=60; 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 *)