%I #26 Jun 14 2022 01:25:33
%S 1,6,28,122,500,2026,8148,32682,130900,523946,2096468,8387242,
%T 33551700,134212266,536859988,2147461802,8589890900,34359650986,
%U 137438778708,549755464362,2199022556500,8796091624106,35184369292628,140737482762922,562949942236500
%N Decimal representation of the n-th iteration of the "Rule 199" elementary cellular automaton starting with a single ON (black) cell.
%D S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
%H Robert Price, <a href="/A267689/b267689.txt">Table of n, a(n) for n = 0..1000</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/ElementaryCellularAutomaton.html">Elementary Cellular Automaton</a>
%H S. Wolfram, <a href="http://wolframscience.com/">A New Kind of Science</a>
%H <a href="/index/Ce#cell">Index entries for sequences related to cellular automata</a>
%H <a href="https://oeis.org/wiki/Index_to_Elementary_Cellular_Automata">Index to Elementary Cellular Automata</a>
%F Conjectures from _Colin Barker_, Jan 19 2016 and Apr 20 2019: (Start)
%F a(n) = 6*a(n-1) - 7*a(n-2) - 6*a(n-3) + 8*a(n-4) for n > 4.
%F G.f.: (1+2*x)*(1 - 2*x + 3*x^2 - 4*x^3) / ((1-x)*(1+x)*(1-2*x)*(1-4*x)).
%F (End)
%F 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
%t 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 *)
%Y Cf. A267687, A267688.
%K nonn,easy
%O 0,2
%A _Robert Price_, Jan 19 2016