|
|
A266179
|
|
Binary representation of the n-th iteration of the "Rule 6" elementary cellular automaton starting with a single ON (black) cell.
|
|
6
|
|
|
1, 110, 10000, 1100000, 100000000, 11000000000, 1000000000000, 110000000000000, 10000000000000000, 1100000000000000000, 100000000000000000000, 11000000000000000000000, 1000000000000000000000000, 110000000000000000000000000, 10000000000000000000000000000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Rules 38,134 and 166 also generate this sequence.
|
|
REFERENCES
|
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4^(n-1)*5^(2*n-1)*(21-(-1)^n).
a(n) = 10000*a(n-2) for n>1.
G.f.: (1+110*x) / ((1-100*x)*(1+100*x)). (End)
|
|
MATHEMATICA
|
rule=6; rows=20; ca=CellularAutomaton[rule, {{1}, 0}, rows-1, {All, All}]; (* Start with single black cell *) catri=Table[Take[ca[[k]], {rows-k+1, rows+k-1}], {k, 1, rows}]; (* Truncated list of each row *) Table[FromDigits[catri[[k]]], {k, 1, rows}] (* Binary Representation of Rows *)
|
|
PROG
|
(Python) print([110*100**(n-1) if n%2 else 100**n for n in range(30)]) # Karl V. Keller, Jr., Aug 11 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|