login
A269698
First differences of 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.
1
4, -1, 16, -16, 16, -4, 64, -76, 16, -4, 64, -64, 64, -16, 256, -316, 16, -4, 64, -64, 64, -16, 256, -304, 64, -16, 256, -256, 256, -64, 1024, -1276, 16, -4, 64, -64, 64, -16, 256, -304, 64, -16, 256, -256, 256, -64, 1024, -1264, 64, -16, 256, -256, 256, -64
OFFSET
0,1
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.
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 *)
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}] (* Difference at each stage *)
CROSSREFS
Cf. A269695.
Sequence in context: A075499 A367022 A099394 * A059991 A002568 A334063
KEYWORD
sign,easy
AUTHOR
Robert Price, Mar 03 2016
STATUS
approved