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
EXAMPLE
From Michael De Vlieger, Dec 14 2015: (Start)
First 8 rows, replacing leading zeros with ".", the row converted to its binary, then decimal equivalent at right :
1 -> 1 -> 1
. 1 1 -> 11 -> 3
. . . 1 1 -> 11 -> 3
. 1 1 0 0 1 1 -> 110011 -> 51
. . . . 1 0 0 1 1 -> 10011 -> 19
. 1 1 1 0 1 1 0 0 1 1 -> 1110110011 -> 947
. . . 1 0 0 0 0 1 0 0 1 1 -> 1000010011 -> 531
. 1 1 0 1 1 1 1 0 1 1 0 0 1 1 -> 11011110110011 -> 14259
(End)
MATHEMATICA
rule = 149; rows = 30; Table[FromDigits[Table[Take[CellularAutomaton[rule, {{1}, 0}, rows-1, {All, All}][[k]], {rows-k+1, rows+k-1}], {k, 1, rows}][[k]], 2], {k, 1, rows}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Price, Dec 14 2015
STATUS
approved