# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a281277 Showing 1-1 of 1 %I A281277 #7 Jan 18 2017 21:38:13 %S A281277 1,1,11,1010,101,110111,1100,11101001,10111,1111011100,110111, %T A281277 111110101000,1010011,11111101110100,11001001,1111111010000011, %U A281277 101111100,111111110111000101,1101110011,11111111101010011010,10100000101,1111111111011101110011,110010001000 %N A281277 Binary representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 347", based on the 5-celled von Neumann neighborhood. %C A281277 Initialized with a single black (ON) cell at stage zero. %D A281277 S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 170. %H A281277 Robert Price, Table of n, a(n) for n = 0..126 %H A281277 Robert Price, Diagrams of first 20 stages %H A281277 N. J. A. Sloane, On the Number of ON Cells in Cellular Automata, arXiv:1503.01168 [math.CO], 2015 %H A281277 Eric Weisstein's World of Mathematics, Elementary Cellular Automaton %H A281277 S. Wolfram, A New Kind of Science %H A281277 Wolfram Research, Wolfram Atlas of Simple Programs %H A281277 Index entries for sequences related to cellular automata %H A281277 Index to 2D 5-Neighbor Cellular Automata %H A281277 Index to Elementary Cellular Automata %t A281277 CAStep[rule_, a_] := Map[rule[[10 - #]] &, ListConvolve[{{0, 2, 0},{2, 1, 2}, {0, 2, 0}}, a, 2],{2}]; %t A281277 code = 347; stages = 128; %t A281277 rule = IntegerDigits[code, 2, 10]; %t A281277 g = 2 * stages + 1; (* Maximum size of grid *) %t A281277 a = PadLeft[{{1}}, {g, g}, 0,Floor[{g, g}/2]]; (* Initial ON cell on grid *) %t A281277 ca = a; %t A281277 ca = Table[ca = CAStep[rule, ca], {n, 1, stages + 1}]; %t A281277 PrependTo[ca, a]; %t A281277 (* Trim full grid to reflect growth by one cell at each stage *) %t A281277 k = (Length[ca[[1]]] + 1)/2; %t A281277 ca = Table[Table[Part[ca[[n]] [[j]],Range[k + 1 - n, k - 1 + n]], {j, k + 1 - n, k - 1 + n}], {n, 1, k}]; %t A281277 Table[FromDigits[Part[ca[[i]] [[i]], Range[1, i]], 10], {i, 1, stages - 1}] %Y A281277 Cf. A281278, A281279, A281280. %K A281277 nonn,easy %O A281277 0,3 %A A281277 _Robert Price_, Jan 18 2017 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE