TOPICS
Search

Rule 158


ElementaryCARule158

Rule 158 is one of the elementary cellular automaton rules described by Wolfram (1983, 2002). It specifies the next color in a cell, depending on its color and its immediate neighbors. Its rule outcomes are encoded in the binary representation 158=10011110_2. This rule is illustrated above together with the evolution of a single black cell it produces after 15 steps (Wolfram 2002, p. 56).

The mirror image, complement, and mirror complement are rules 214, 134, and 148, respectively.

Starting with a single black cell on an otherwise white infinite row, successive generations n=0, 1, ... are given by interpreting the numbers 1, 7, 29, 115, 477, 1843, 7645, ... (OEIS A118171) in binary, namely 1, 111, 11101, 1110011, 111011101, ... (OEIS A071037).

The decimal value of the nth iteration is given in closed form by

 a(n)=1/(30)[-16+(-4)^n-10(-1)^n+55·4^n]

(E. W. Weisstein, Apr. 13, 2006), so computation of Rule 158 is computationally reducible for an initial configuration consisting of a single black cell. a(n) has generating function

 -(4x^3-12x^2-7x-1)/((x-1)(x+1)(4x-1)(4x+1)).

See also

Elementary Cellular Automaton, Rule 30, Rule 50, Rule 54, Rule 60, Rule 62, Rule 90, Rule 94, Rule 102, Rule 110, Rule 126, Rule 150, Rule 182, Rule 188, Rule 190, Rule 220, Rule 222

Related Wolfram sites

https://atlas.wolfram.com/01/01/158/

Explore with Wolfram|Alpha

WolframAlpha

More things to try:

References

Macfarlane, A. J. "Generating Functions for Integer Sequences Defined by the Evolution of Cellular Automata with Even Rule Numbers." 2016. https://www.damtp.cam.ac.uk/user/ajm25/Papers2016/GFsForCAsOfEvenRuleNo.ps.Sloane, N. J. A. Sequences A071037 and A118171 in "The On-Line Encyclopedia of Integer Sequences."Wolfram, S. "Statistical Mechanics of Cellular Automata." Rev. Mod. Phys. 55, 601-644, 1983. https://doi.org/10.1103/RevModPhys.55.601.Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, pp. 56 and 952, 2002.

Referenced on Wolfram|Alpha

Rule 158

Cite this as:

Weisstein, Eric W. "Rule 158." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Rule158.html

Subject classifications