|
|
A071032
|
|
Triangle read by rows giving successive states of cellular automaton generated by "Rule 86".
|
|
6
|
|
|
1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
Row n has length 2n+1.
|
|
REFERENCES
|
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; Chapter 3.
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Rule 30
|
|
FORMULA
|
|
|
MATHEMATICA
|
A071032list[rowmax_]:=MapIndexed[ArrayPad[#1, #2-rowmax-1]&, CellularAutomaton[86, {{1}, 0}, rowmax]]; A071032list[10] (* Generates 11 rows *) (* Paolo Xausa, Jun 01 2023 *)
|
|
PROG
|
(Haskell)
a071032 n k = a071032_tabf !! n !! k
a071032_row n = a071032_tabf !! n
a071032_tabf = map reverse a070950_tabf
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,tabf
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|