login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A267357
Decimal representation of the n-th iteration of the "Rule 124" elementary cellular automaton starting with a single ON (black) cell.
5
1, 3, 7, 11, 31, 35, 103, 235, 383, 899, 1415, 3979, 4511, 13219, 30183, 48747, 116479, 184067, 512775, 587531, 1653535, 3890979, 6284135, 14706667, 23128191, 65108099, 73636231, 216382347, 493870495, 804319139, 1882288615, 2960372331, 8333424383, 9428680451
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
MATHEMATICA
rule=124; 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. A267355.
Sequence in context: A238673 A318263 A213740 * A152084 A274134 A131588
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 13 2016
STATUS
approved