Rule 222 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 . This rule is illustrated above together with
the evolution of a single black cell it produces after 15 steps (Wolfram 2002, p. 56).
Rule 222 is amphichiral, and its complement is rule
132.
Starting with a single black cell on an otherwise white infinite row, successive generations ,
1, ... are given by interpreting the numbers 1, 7, 31, 127, 511, 2047, 8191, ...
(OEIS A083420) in binary,
namely 1, 111, 11111, 1111111, 111111111, .... The th term is given by