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
S. Wolfram, A New Kind of Science
EXAMPLE
From Michael De Vlieger, Dec 14 2015: (Start)
First 10 rows, replacing leading zeros with ".", the row converted to its binary equivalent at right:
1 -> 1
. 1 1 -> 11
. . . 1 1 -> 11
. 1 1 0 0 1 1 -> 110011
. . . . 1 0 0 1 1 -> 10011
. 1 1 1 0 1 1 0 0 1 1 -> 1110110011
. . . 1 0 0 0 0 1 0 0 1 1 -> 1000010011
. 1 1 0 1 1 1 1 0 1 1 0 0 1 1 -> 11011110110011
. . . . . . 1 1 0 0 0 0 1 0 0 1 1 -> 11000010011
. 1 1 1 1 1 0 0 0 1 1 1 0 1 1 0 0 1 1 -> 111110001110110011
(End)
MATHEMATICA
rule = 149; rows = 20; Table[FromDigits[Table[Take[CellularAutomaton[rule, {{1}, 0}, rows-1, {All, All}][[k]], {rows-k+1, rows+k-1}], {k, 1, rows}][[k]]], {k, 1, rows}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Price, Dec 14 2015
STATUS
approved