login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A266629 Total number of OFF (white) cells after n iterations of the "Rule 45" elementary cellular automaton starting with a single ON (black) cell. 1
0, 2, 3, 8, 12, 16, 21, 28, 38, 44, 56, 67, 81, 90, 104, 117, 136, 148, 169, 186, 212, 225, 247, 271, 300, 315, 350, 375, 400, 429, 460, 489, 526, 556, 592, 619, 665, 688, 740, 766, 815, 851, 898, 931, 992, 1021, 1078, 1116, 1175, 1213, 1271, 1315, 1381 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002; p. 55.
LINKS
Eric Weisstein's World of Mathematics, Elementary Cellular Automaton
MATHEMATICA
rule=45; 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 *) nbc=Table[Total[catri[[k]]], {k, 1, rows}]; (* Number of Black cells in stage n *) nwc=Table[Length[catri[[k]]]-nbc[[k]], {k, 1, rows}]; (* Number of White cells in stage n *) Table[Total[Take[nwc, k]], {k, 1, rows}] (* Number of White cells through stage n *)
CROSSREFS
Cf. A266619.
Sequence in context: A164817 A002958 A290153 * A249096 A249367 A257999
KEYWORD
nonn,easy
AUTHOR
Robert Price, Jan 01 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)