Elementary Cellular Automata — The Simplest Possible Rules

To understand cellular automata, start with the simplest possible version: a single line of cells, each either black or white, each updating based only on itself and its two immediate neighbors. These elementary cellular automata are about as minimal as a system can be — and yet, astonishingly, some of them produce patterns of unlimited complexity. This post is about the simplest CAs, how their 256 rules are numbered, and the shocking discovery that minimal rules can be maximally complex.

Post 1 introduced cellular automata in general; this post examines the simplest case, which is where the field’s most surprising results were found. Elementary CAs are minimal enough to enumerate completely (there are exactly 256) yet rich enough to contain genuine complexity — making them the perfect laboratory for the series’ core theme of complexity from simplicity.

The simplest cellular automaton

An elementary cellular automaton is the most minimal CA possible:

That’s it — a row of cells, each looking at itself and its two neighbors, updating by a fixed rule, step after step. To visualize the evolution, we draw each successive step as a new row below the previous one, so the 1D line evolving over time becomes a 2D picture (time running downward) — which is how elementary CAs are famously displayed. This minimal setup is deliberately as simple as a cellular automaton can be, which makes what it can do all the more remarkable.

The beauty of this minimality is that you can enumerate every possible rule. Since a cell’s next state depends on three cells, each on/off, there are 2³ = 8 possible neighborhood configurations (000, 001, 010, …, 111). A rule specifies the next state (0 or 1) for each of those 8 configurations — so a rule is 8 bits, and there are exactly 2⁸ = 256 possible elementary CA rules. The entire space of the simplest cellular automata is just 256 rules, each completely specifiable and studiable. This completeness is why elementary CAs are such a clean laboratory: you can examine all of them.

Wolfram numbering: naming the 256 rules

Because each rule is 8 bits (the output for each of the 8 neighborhood configurations), each rule corresponds to a number from 0 to 255 — its Wolfram code. You list the 8 configurations in a fixed order and read off the 8 output bits as a binary number; that number names the rule. “Rule 30,” “Rule 90,” “Rule 110” — these famous names are just the decimal values of the 8-bit output patterns. This numbering (introduced by Stephen Wolfram, who extensively studied these systems) gives every elementary CA a simple name, making it easy to refer to and compare specific rules. It’s a neat encoding: the entire behavior of an elementary CA is captured in a single number 0–255.

What makes this more than bookkeeping is that different rule numbers produce wildly different behavior, and studying all 256 reveals the full range of what even the simplest CAs can do. Some rules are boring; some are astonishing — and which is which is not at all obvious from the rule number. You largely have to run the rule to see what it does (a hint of the deep unpredictability in post 4).

The shock: simple rules, unlimited complexity

Here is the discovery that made elementary CAs famous and reshaped how people think about complexity. Among the 256 trivial rules, the behaviors fall into strikingly different categories:

The shock is the sheer disproportion: these rules are about as simple as a rule can possibly be — 8 bits, three-cell neighborhoods — and yet some of them produce behavior of unlimited complexity, apparent randomness, and even universal computation. This was a genuinely surprising empirical discovery (central to Wolfram’s A New Kind of Science): complexity is not rare or requiring of complex rules — it appears even among the very simplest possible rules. You don’t have to build something complicated to get complexity; it’s already there, lurking in rules a child could specify. Elementary CAs made this concrete and undeniable by exhibiting it in the simplest systems imaginable, which is why they’re foundational to how we now understand the relationship between simplicity and complexity.

Key takeaways

Further reading

Sources & References