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.

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

Original entry on oeis.org

1, 5, 4, 20, 4, 20, 16, 80, 4, 20, 16, 80, 16, 80, 64, 320, 4, 20, 16, 80, 16, 80, 64, 320, 16, 80, 64, 320, 64, 320, 256, 1280, 4, 20, 16, 80, 16, 80, 64, 320, 16, 80, 64, 320, 64, 320, 256, 1280, 16, 80, 64, 320, 64, 320, 256, 1280, 64, 320, 256, 1280, 256
Offset: 0

Views

Author

Robert Price, Mar 03 2016

Keywords

Comments

Initialized with a single black (ON) cell at stage zero.
Rules 38, 70, 102, 134, 166, 198 and 230 also generate this sequence.

References

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

Programs

  • Mathematica
    rule=6; 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 *)