Rule 222 is one of the elementary cellular automaton rules described by Wolfram (1983, 2002). The binary
representation
gives the next cell color for each three-cell neighborhood, in order from 111 through
000. 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