Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
login
A267365
Decimal representation of the n-th iteration of the "Rule 126" elementary cellular automaton starting with a single ON (black) cell.
3
1, 7, 27, 127, 387, 1935, 6579, 32767, 98307, 491535, 1671219, 8356095, 25264899, 126324495, 429503283, 2147483647, 6442450947, 32212254735, 109521666099, 547608330495, 1655709893379, 8278549466895, 28147068187443, 140735340937215, 422218907713539
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
MATHEMATICA
rule=126; 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]], 2], {k, 1, rows}] (* Decimal Representation of Rows *)
CROSSREFS
Cf. A071035.
Sequence in context: A327623 A269070 A147996 * A034536 A283538 A214459
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 13 2016
STATUS
approved