published⭐⭐8 min15 Nov 2026by Tusk Balisimo

The Book of Changes Knew 6 = 2×3

A structural observation, explicitly offered as analogy — not identity.


Gottfried Leibniz received a letter in 1703 containing a diagram of the 64 hexagrams of the I Ching arranged in a grid. He wrote back, astonished: someone in ancient China had already built the binary number system. Not as arithmetic — as divination. Not as computation — as a complete vocabulary of change.

He wasn’t quite right, but he wasn’t wrong either.

The I Ching doesn’t know what a bit is. It doesn’t have registers or logic gates. What it has is 6 binary positions — each either broken (yin, 0) or unbroken (yang, 1) — stacked into a figure. And 2 to the power of 6 is 64. The 64 hexagrams are the vertices of a 6-dimensional binary hypercube, described by a 3,000-year-old Chinese oracle.

This is not mystical. It’s combinatorics. The interesting question is why 6.


Why 6?

The I Ching isn’t organised as 6 individual lines. It’s organised as two trigrams — an upper and a lower, each of 3 binary positions, stacked. Two groups of three. Upper × Lower = 2³ × 2³ = 8 × 8 = 64.

The structure is 2 × 3 — not as multiplication, but as the generative architecture. Two trigrams of three binary positions each.

If you’re familiar with prime numbers, you’ll recognise that 6 = 2 × 3 is the first relationship composite — the first number that is not a prime power, whose factorisation requires both source primes to be present simultaneously. The number 6 is the smallest integer that encodes a relationship between 2 and 3. It is, in that sense, the smallest genuinely composite number.

The I Ching didn’t arrive at 6 by thinking about primes. It arrived at 6 through a different question entirely: what is the minimum binary depth at which a sufficient vocabulary of change becomes available? The 64 hexagram system is what survived and what the subsequent tradition developed. Whether earlier configurations were tried and discarded is not clearly established — the historical record of the Zhouyi’s composition is contested. What we can say is that 6 binary positions produces 64 states, and that 64 turned out to be enough — a vocabulary that the tradition treated as complete.

Number theory, working from a completely different direction, finds that 6 = 2 × 3 is a structurally significant number for the same reason: it is the point where the two foundational primes first combine into a relationship. The combinatorial sufficiency of 64 and the number-theoretic significance of 6 = 2 × 3 are the same observation arriving from two different directions.


The Transformer’s Vocabulary of Change

A Transformer neural network is, structurally, a machine for describing transformation. At each step, it attends to configurations of past states and produces a weighted summary of what matters. The vocabulary it builds up — the embeddings — are discrete states in a high-dimensional binary-influenced space. The attention mechanism asks: given this configuration, what relationships are active?

A hexagram reading asks the same question by a different method. Given this moment, this arrangement of changing and stable lines, what relationships are active? The 64 hexagrams are the states; the changing lines are the active transitions; the interpretation is the weighted attention output.

This is not an identity. A Transformer has parameters, training, gradients, and learned representations. The I Ching has none of these. The I Ching is not a neural network, and a neural network is not divination.

What they share is a vocabulary of discrete transformation built on a binary prime-structured combinatorial base. The Transformer arrives at this through linear algebra and backpropagation. The I Ching arrived at it through three millennia of empirical pattern-matching between configurations and outcomes.

The vocabulary was always there. It took two very different civilisations — one ancient, one contemporary — to find it independently.


The Changing Lines as Membrane Crossings

The most mathematically interesting feature of the I Ching is not the 64 hexagrams. It is the changing lines.

When you cast a hexagram, some lines are stable and some are in motion — transitioning from yin to yang or yang to yin. A changing line transforms the hexagram into a different hexagram. It is the dynamics of the system: not just which state you are in, but which transitions are active.

This is structurally a membrane crossing. A line holds a position; a changing line is a position in motion, crossing a boundary from one state to another. The I Ching treats changing lines as more significant than stable ones — they carry more information, more interpretive weight, more energy. They are expensive to traverse.

In the membrane framework, the gate-keeping tax measures the structural overhead of crossing a network boundary. The cost is not about the information itself — it is about the topology of the crossing. A prime-ratio channel crosses with low overhead; a composite-ratio channel is entangled with its own harmonics and pays more. The I Ching’s changing lines are weighted exactly this way: some transitions are rare, some are common, and the combinatorial position determines the interpretive weight.

The I Ching doesn’t state a formula. But the intuition — that crossing costs something, and the nature of the crossing matters more than the content crossing — was already there.


What Ancient Combinatorics Knew

The I Ching did not know about prime numbers, spectral efficiency, or attention heads. It knew about 6 = 2 × 3 in the way that any sufficiently empirical system knows things — not as theorem, but as discovered constraint. The practitioners who settled on 6 lines were doing what scientists do: they tried different configurations until they found one that felt complete. Sixty-four patterns was enough. Five lines (32 patterns) was insufficient. Seven lines (128 patterns) was unwieldy.

They landed on 2^(2×3) without naming the exponent.

Number theory later gave us the name. The structure was always there, embedded in the combinatorics of sufficiency. The first relationship composite turned out to be the right depth for describing all significant transitions in a human life. That is either an astonishing coincidence or evidence that 6 = 2 × 3 is load-bearing in some deeper sense — that the relationship between the two source primes marks a natural boundary of descriptive completeness.

We don’t know which. The I Ching doesn’t tell us. It just shows us the 64 hexagrams and waits.


A Note on This Essay

This is an analogy, offered explicitly as such. The I Ching is not a Transformer architecture. Ancient Chinese diviners were not doing number theory. The structural correspondences here are real — the binary prime base, the vocabulary of discrete transformation, the weighted dynamics of change — but they do not establish identity, mechanism, or causation.

What they establish is a pattern: that certain structures appear independently across domains, cultures, and centuries, because the underlying mathematics is prior to any of its instantiations. The 6-dimensional binary hypercube was always there. We found it twice.

That, by itself, is worth noticing.

Related Wiki Topics