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.

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

Original entry on oeis.org

1, 5, 9, 21, 25, 37, 57, 69, 89, 101, 121, 133, 169, 205, 257, 309, 361, 333, 377, 381, 385, 461, 465, 509, 601, 653, 697, 781, 889, 845, 1097, 1077, 1353, 1205, 1305, 1349, 1345, 1357, 1321, 1437, 1553, 1589, 1601, 1709, 1729, 1813, 1937, 2069, 2361, 2181
Offset: 0

Views

Author

Robert Price, Feb 28 2016

Keywords

Comments

Initialized with a single black (ON) cell at stage zero.

References

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

Crossrefs

Programs

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