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.

A269711 Number of active (ON, black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 20", based on the 5-celled von Neumann neighborhood.

Original entry on oeis.org

1, 4, 8, 12, 20, 24, 44, 28, 52, 56, 104, 56, 104, 112, 212, 60, 116, 120, 232, 120, 232, 240, 464, 120, 232, 240, 464, 240, 464, 480, 932, 124, 244, 248, 488, 248, 488, 496, 976, 248, 488, 496, 976, 496, 976, 992, 1952, 248, 488, 496, 976, 496, 976, 992
Offset: 0

Views

Author

Robert Price, Mar 04 2016

Keywords

Comments

Initialized with a single black (ON) cell at stage zero.
Rules 28, 52, 60, 148, 156, 180, 188, 532, 540, 564, 572, 660, 668, 692 and 700 also generate this sequence.
Apparently a duplicate of A122108. - R. J. Mathar, Mar 09 2016

References

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

Programs

  • Mathematica
    rule=20; stages=300;
    ca=CellularAutomaton[{rule,{2,{{0,2,0},{2,1,2},{0,2,0}}},{1,1}},{{{1}},0},stages]; (* Start with single black cell *)
    Map[Function[Apply[Plus,Flatten[#1]]],ca] (* Count ON cells at each stage *)