OFFSET
0
COMMENTS
Row n has length 2n+1.
Starting at row n=1 and shifting one cell to the right generates the complement of Rule 30.
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
LINKS
Robert Price, Table of n, a(n) for n = 0..9999
Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
EXAMPLE
Triangle begins:
1;
1,1,0;
1,1,0,0,0;
1,1,0,0,1,1,0;
1,1,0,0,1,0,0,0,0;
...
MATHEMATICA
rule = 135; rows = 20; Flatten[Table[Take[CellularAutomaton[rule, {{1}, 0}, rows-1, {All, All}][[k]], {rows - k + 1, rows + k - 1}], {k, 1, rows}]]
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
Robert Price, Dec 13 2015
STATUS
approved