OFFSET
0,3
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
LINKS
Robert Price, Table of n, a(n) for n = 0..999
Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
EXAMPLE
From Michael De Vlieger, Dec 09 2015: (Start)
First 12 rows, replacing "1" with ".", ignoring "0" outside of range of 1's for better visibility of OFF cells, followed by total number of OFF cells per row and running total up to that row:
. = 0 -> 0
. . . = 0 -> 0
. 0 . 0 . = 2 -> 2
. . 0 . 0 . . = 2 -> 4
. 0 0 0 . 0 0 0 . = 6 -> 10
. . . 0 . . . 0 . . . = 2 -> 12
. 0 . 0 0 0 . 0 0 0 . 0 . = 8 -> 20
. . 0 . . 0 . . . 0 . . 0 . . = 4 -> 24
. 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 . = 14 -> 38
. . . 0 0 0 0 0 . . . 0 0 0 0 0 . . . = 10 -> 48
. 0 . 0 . 0 0 0 . 0 . 0 . 0 0 0 . 0 . 0 . = 12 -> 60
. . 0 . 0 . . 0 . . 0 . 0 . . 0 . . 0 . 0 . . = 8 -> 68
. 0 0 0 . 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 . 0 0 0 . = 20 -> 88
(End)
MATHEMATICA
lim = 51; a = {}; Do[AppendTo[a, Take[#, 2 (k - 1) + 1] &@ Take[#[[k]], -(lim + k)]], {k, Length@ #}] &@ CellularAutomaton[150, {{1}, 0}, lim]; Accumulate[Count[#, n_ /; n == 0] & /@ a] (* Michael De Vlieger, Dec 09 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Price, Dec 07 2015
STATUS
approved