login
A267444
Decimal representation of the middle column of the "Rule 129" elementary cellular automaton starting with a single ON (black) cell.
1
1, 2, 5, 10, 21, 43, 87, 174, 349, 699, 1399, 2799, 5599, 11199, 22399, 44798, 89597, 179195, 358391, 716783, 1433567, 2867135, 5734271, 11468543, 22937087, 45874175, 91748351, 183496703, 366993407, 733986815, 1467973631, 2935947262, 5871894525, 11743789051
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
MATHEMATICA
rule=129; 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 *) mc=Table[catri[[k]][[k]], {k, 1, rows}]; (* Keep only middle cell from each row *) Table[FromDigits[Take[mc, k], 2], {k, 1, rows}] (* Binary Representation of Middle Column *)
CROSSREFS
Cf. A267417.
Sequence in context: A032283 A266248 A027437 * A267880 A101510 A066819
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 15 2016
STATUS
approved