login
A265701
Number of ON (black) cells in the n-th iteration of the "Rule 135" elementary cellular automaton starting with a single ON (black) cell.
1
1, 2, 2, 4, 3, 7, 4, 10, 5, 12, 9, 12, 11, 15, 10, 18, 11, 20, 18, 19, 17, 22, 22, 24, 21, 25, 26, 29, 24, 29, 27, 32, 26, 41, 30, 42, 27, 43, 33, 41, 36, 36, 44, 42, 40, 53, 38, 53, 46, 55, 48, 60, 46, 55, 49, 62, 48, 58, 57, 63, 52, 62, 55, 68, 51, 67, 77
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
MATHEMATICA
rule = 135; rows = 30; Table[Total[Table[Take[CellularAutomaton[rule, {{1}, 0}, rows-1, {All, All}][[k]], {rows-k+1, rows+k-1}], {k, 1, rows}][[k]]], {k, 1, rows}]
CROSSREFS
Cf. A265695.
Sequence in context: A286931 A374405 A336305 * A353747 A007439 A238622
KEYWORD
nonn,easy
AUTHOR
Robert Price, Dec 13 2015
STATUS
approved