I Ching and Prime-Structured Combinatorics
I Ching and Prime-Structured Combinatorics
The I Ching (Yijing) is a 3,000-year-old Chinese divination system organised around 64 hexagrams โ figures of six binary lines, each either broken (yin, 0) or unbroken (yang, 1). The 64 hexagrams are exactly 2^6 = 64: the vertices of a 6-dimensional binary hypercube.
Leibniz noticed this in 1703 when he received a diagram of the hexagrams from a Jesuit missionary. He recognised the binary number system. The Chinese oracle had arrived at it through a different route.
The Structure: 6 = 2ร3
The I Ching is not organised as 6 individual lines. It is organised as two trigrams โ an upper and a lower, each of 3 binary positions, stacked:
2ยณ ร 2ยณ = 8 ร 8 = 64
The generative structure is 2 ร 3: two groups of three. In the ONM framework, 6 = 2 ร 3 is the first relationship composite โ the smallest number whose factorisation requires both source primes simultaneously. The I Ching arrived at 2^(2ร3) through empirical sufficiency (64 patterns felt complete as a vocabulary of change), not through number theory.
Number theory finds the same structure from a different direction: 6 is the exponent that encodes the first relationship between the two source primes. The combinatorial sufficiency of 64 and the number-theoretic significance of 6 = 2ร3 are the same observation arriving independently.
Changing Lines as Membrane Crossings
The most mathematically interesting feature of the I Ching is the changing lines mechanism. When a hexagram is cast, some lines are in motion โ transitioning from yin to yang or yang to yin. A changing line transforms one hexagram into another. It carries more interpretive weight than a stable line.
This is structurally analogous to a [[gate-keeping-tax|membrane crossing]]: a position in transition carries a cost proportional to the nature of the transition, not just the content. The I Ching treats changing lines as more significant precisely because transition is more information-dense than stability.
Transformers and the Shared Vocabulary
A Transformer neural network attends to configurations of past states and produces a weighted summary of what matters. The vocabulary it builds operates over discrete states in a high-dimensional space. The attention mechanism asks: given this configuration, what relationships are active?
A hexagram reading asks the same question by a different method. The 64 hexagrams are the states; the changing lines are the active transitions; the interpretation is the weighted attention output.
This is analogy, not identity. A Transformer has parameters, training, and gradients. The I Ching has none of these. What they share is a vocabulary of discrete transformation built on a binary prime-structured combinatorial base โ each discovered independently, centuries apart.
Note
The blog post The Book of Changes Knew 6 = 2ร3 develops this analogy in full, including the honest framing of what it claims and what it does not.