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..1000
Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
S. Wolfram, A New Kind of Science
FORMULA
Conjectures from Colin Barker, Jan 19 2016 and Apr 20 2019: (Start)
a(n) = 6*a(n-1) - 7*a(n-2) - 6*a(n-3) + 8*a(n-4) for n > 4.
G.f.: (1+2*x)*(1 - 2*x + 3*x^2 - 4*x^3) / ((1-x)*(1+x)*(1-2*x)*(1-4*x)).
(End)
Empirical a(n) = -1 -(-1)^n/3 - 2^(1+n)/3 + 2^(1+2*n) for n > 0. - Colin Barker, Feb 14 2017 and Apr 20 2019
MATHEMATICA
rule=199; rows=20; ca=CellularAutomaton[rule, {{1}, 0}, rows-1, {All, All}]; (* Start with single black cell *) catri=Table[Take[ca[[k]], {rows-k+1, rows+k-1}], {k, 1, rows}]; (* truncated list of each row *) Table[FromDigits[catri[[k]], 2], {k, 1, rows}] (* decimal representation of rows *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 19 2016
STATUS
approved