OFFSET
0,2
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
FORMULA
Empirical g.f.: (2*(-x - 2*x^2 + x^3))/((-1 + x)^3*(1 + x)^2). - Michael De Vlieger, Dec 21 2015
Empirical a(n) = 1/4*(2*n^2 + 2*(-1)^n*n + 6*n - (-1)^n + 1). - Colin Barker, Dec 21 2015
a(n) = 2*A135276(n). - Alois P. Heinz, Dec 21 2015
EXAMPLE
From Michael De Vlieger, Dec 21 2015: (Start)
First 12 rows, replacing "1" with "." for better visibility of OFF cells, followed by the total number of 0's per row, then the running total up to and including that row:
. = 0 -> 0
. 0 0 = 2 -> 2
0 0 0 . 0 = 4 -> 6
. . . . 0 0 . = 2 -> 8
0 0 0 0 0 0 . 0 0 = 8 -> 16
. . . . . . . 0 0 . . = 2 -> 18
0 0 0 0 0 0 0 0 0 . 0 0 0 = 12 -> 30
. . . . . . . . . . 0 0 . . . = 2 -> 32
0 0 0 0 0 0 0 0 0 0 0 0 . 0 0 0 0 = 16 -> 48
. . . . . . . . . . . . . 0 0 . . . . = 2 -> 50
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 . 0 0 0 0 0 = 20 -> 70
. . . . . . . . . . . . . . . . 0 0 . . . . . = 2 -> 72
(End)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Price, Dec 20 2015
STATUS
approved