|
|
A118109
|
|
Binary representation of n-th iteration of the Rule 54 elementary cellular automaton starting with a single black cell.
|
|
5
|
|
|
1, 111, 10001, 1110111, 100010001, 11101110111, 1000100010001, 111011101110111, 10001000100010001, 1110111011101110111, 100010001000100010001, 11101110111011101110111, 1000100010001000100010001, 111011101110111011101110111, 10001000100010001000100010001, 1110111011101110111011101110111
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Rule 54
|
|
FORMULA
|
Conjectures from Colin Barker, Dec 08 2015 and Apr 16 2019: (Start)
a(n) = 10001*a(n-2)-10000*a(n-4) for n>3.
G.f.: (1+111*x) / ((1-x)*(1+x)*(1-100*x)*(1+100*x)).
(End)
Conjecture: a(n) = floor((10000+1100*(n mod 2))*100^n/9999). - Karl V. Keller, Jr., Sep 24 2021
|
|
EXAMPLE
|
First 8 rows, representing ON cells as "1", OFF cells within the bounds of ON cells as "0", interpreted as a binary number at left, the decimal equivalent appearing at right (A118108):
1 = 1
111 = 7
1 0001 = 17
111 0111 = 119
1 0001 0001 = 273
111 0111 0111 = 1911
1 0001 0001 0001 = 4369
111 0111 0111 0111 = 30583
10001 0001 0001 0001 = 69905
(End)
|
|
MATHEMATICA
|
rule=54; 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 *) (* Robert Price, Feb 21 2016 *)
|
|
CROSSREFS
|
Cf. A071030 (essentially the same but lists bits separately), A118108 (converted to base 10).
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|