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.

A269568 First differences of 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

4, 4, 12, 4, 12, 20, 12, 20, 12, 20, 12, 36, 36, 52, 52, 52, -28, 44, 4, 4, 76, 4, 44, 92, 52, 44, 84, 108, -44, 252, -20, 276, -148, 100, 44, -4, 12, -36, 116, 116, 36, 12, 108, 20, 84, 124, 132, 292, -180, 212, -12, 132, 12, 300, 228, 52, 196, 148, 36, 276
Offset: 0

Views

Author

Robert Price, Feb 29 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

Cf. A269522.

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 *) on=Map[Function[Apply[Plus,Flatten[#1]]],ca]; (* Count ON cells at each stage *) Table[on[[i+1]]-on[[i]],{i,1,Length[on]-1}]