The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A266384 Total number of OFF (white) cells after n iterations of the "Rule 22" elementary cellular automaton starting with a single ON (black) cell. 1
0, 0, 3, 4, 11, 16, 25, 28, 43, 56, 73, 84, 105, 120, 141, 148, 179, 208, 241, 268, 305, 336, 373, 396, 441, 480, 525, 556, 605, 640, 685, 700, 763, 824, 889, 948, 1017, 1080, 1149, 1204, 1281, 1352, 1429, 1492, 1573, 1640, 1717, 1764, 1857, 1944, 2037, 2116 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
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 = 22; rows = 60; 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. A071029.
Sequence in context: A041020 A041527 A290493 * A248825 A001641 A007382
KEYWORD
nonn,easy
AUTHOR
Robert Price, Dec 28 2015
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 May 13 12:32 EDT 2024. Contains 372519 sequences. (Running on oeis4.)