Yìjīng & Binary Mathematics
verified — complete 6-bit combinatorial space
The Yìjīng (Book of Changes) provides one of the cleanest “native” binary systems in any pre–modern tradition. Its combinatorial hierarchy proceeds through exact powers of 2:
For the I Ching’s place within a broader family of alphanumeric and binary encoding systems, see Numeral Systems — Hexagram Encoding. For the 60-year sexagenary cycle’s mathematics, see Ritual Calendars.
Core Combinatorics
| Level | Elements | Count | Binary |
|---|---|---|---|
| Monograms | Yin (broken line) and Yang (solid line) | 2 | 2¹ |
| Bigrams | 2–line combinations | 4 | 2² |
| Trigrams | 3–line combinations (Bāguà) | 8 | 2³ |
| Hexagrams | 6–line combinations | 64 | 2⁶ |
2¹ → 2² → 2³ → 2⁶
The full 6–bit binary space, exhaustively enumerated
Complement Pairs
Reading each line as a binary digit (yang = 1, yin = 0), each hexagram maps to an integer from 0 to 63. Complementary hexagrams (inverting all lines) have binary values that sum to 2⁶ − 1 = 63:
Bitwise NOT of a 6–bit word maps b → 63 − b
∴ every complement pair sums to 63
Shao Yong, Leibniz & the Binary Sequence
verified — historical correspondence
Shao Yong’s (Fu Xi) Binary Ordering
By the 11th century, Shao Yong (1011–1077 CE) arranged the 64 hexagrams in an order where each line can be read as a binary digit (yang = 1, yin = 0), with hexagrams ordered from 000000 to 111111.
This gives a direct mapping: each hexagram corresponds to an integer from 0 to 63 in base–2.
Leibniz and the Yìjīng
Gottfried Wilhelm Leibniz published his binary system in 1703. In 1701, he received a Jesuit illustration of the Fu Xi / Shao Yong sequence and noted the exact correspondence between his 0–1 sequences and the hexagrams.
He took this as evidence of a “pre–established harmony,” but developed his binary calculus independently. Historically, the Yìjīng diagram confirmed, rather than originated, his work.
verified — The historical correspondence between Leibniz and the Jesuit Joachim Bouvet regarding the hexagram diagrams is well–documented.
King Wen vs Fu Xi Sequences
verified — distinct ordering systems
Two Orderings of 64 Hexagrams
| Sequence | Principle | Properties |
|---|---|---|
| King Wen sequence | Traditional symbolic pairings, narrative flow | Not a simple binary count; exhibits pairing symmetries and structural reflections |
| Fu Xi / Shao Yong sequence | Binary–regular ordering (0–63) | Natural for binary, dyadic–group, Gray–code, and Walsh–function analysis |
The King Wen sequence is the standard arrangement used in divination and commentary. The Fu Xi sequence is the mathematically transparent one — making the binary structure explicit.
Genetic Code Parallels — Modern Analogy
remarkable modern analogy — not ancient science
Modern research, notably by Petoukhov (2017) and others, explicitly compares the Yìjīng’s combinatorial hierarchy to the structure of the genetic code:
Structural Comparison
| Yìjīng Level | Count | Genetic Parallel | Count |
|---|---|---|---|
| Yin/Yang lines | 2 | Purine/Pyrimidine classes | 2 |
| Bigrams | 4 | DNA bases (A, T, G, C) | 4 |
| Trigrams | 8 | Base doublets (partial) | — |
| Hexagrams | 64 | Genetic codons | 64 |
These papers show that arranging codons and hexagrams on 8×8 binary matrices yields rich symmetry via dyadic groups and Walsh–Hadamard matrices. However, this is a remarkable modern analogy, not evidence of ancient genetic science.
exploratory — Any claim that the Yìjīng originally encoded genetics or formal binary algebra remains unverified.
Daodejing — 81–Chapter Structure & 3–Based Motifs
verified — square-number architecture
The received Daodejing (Tao Te Ching) is arranged into 81 short chapters, a number with deep mathematical significance in a text steeped in 3–fold cosmology:
Simultaneously the square of 9 and the fourth power of 3
Chapter Division & Editorial History
Scholarly consensus attributes this chapter division and ordering to Liu Xiang (79–8 BCE), who edited and arranged the text in the Western Han. The original sayings likely circulated without numbered chapters.
| Section | Chapters | Approx. Characters |
|---|---|---|
| Dao (道, “The Way”) | 1–37 | ∼2,400 |
| De (德, “Virtue/Power”) | 38–81 | ∼3,100 |
| Total | 81 chapters | ∼5,500 (∼68 per chapter) |
Mawangdui Reversal
The Mawangdui silk manuscripts (c. 2nd century BCE) reverse the standard order: the De section (traditionally chapters 38–81) comes first, followed by the Dao section (1–37). Some scholars call this arrangement the De Dao Jing.
verified — The Mawangdui manuscripts are physical artifacts confirming this alternative ordering.
The Generative Ladder — Chapter 42
Chapter 42 contains the most famous numerical statement in Daoist philosophy:
Interpreters link “Two” to yin/yang and “Three” to their interaction plus Dao — philosophical numerology, not formal arithmetic
remarkable — 81 as 9²/3⁴ in a text steeped in 3–fold cosmology; the 1→2→3 ladder as numerical metaphysics rather than computation.
Daoist Canon (Daozang) — 3s and 4s
verified — structural organization
The Zhengtong Daozang (15th–century Ming edition) is the largest compilation of Daoist scriptures, containing approximately 1,400–1,500 texts in more than 5,000 juan (scrolls).
Three Grottoes & Four Supplements
| Category | Name | Translation |
|---|---|---|
| Three Grottoes (Sān Dòng) | Dongzhen (洞真) | Pervasive Perfection |
| Dongxuan (洞玄) | Pervasive Mystery | |
| Dongshen (洞神) | Pervasive Divinity | |
| Four Supplements (Sì Fǔ) | Taiqing (太清) | Great Clarity |
| Taiping (太平) | Great Peace | |
| Taixuan (太玄) | Great Mystery | |
| Zhengyi (正一) | Orthodox Unity |
Subsection Structure
Each grotto is further divided into 12 subsections, originally designed to hold different textual genres (revelations, commentaries, rituals, etc.).
3 grottoes × 12 subsections = 36 textual categories
The total text count (∼1,500) grew accretively; no evidence of a numerologically tuned target
exploratory — Any claim of a precise, numerologically tuned global text count remains unverified.
Daoist Number Symbolism & Cycles
verified — cosmological number sets
Daoist cosmology is structured around several interlocking number systems that inform everything from medicine and martial arts to calendrical science and ritual:
Core Number Sets
| System | Count | Elements |
|---|---|---|
| Five Phases (Wǔxíng) | 5 | Wood, Fire, Earth, Metal, Water |
| Eight Trigrams (Bāguà) | 8 | Qián, Kūn, Zhèn, Xùn, Kǎn, Lí, Gèn, Duì |
| Heavenly Stems | 10 | Jiǎ, Yǐ, Bǐng, Dīng, Wù, Jǐ, Gēng, Xīn, Rén, Guǐ |
| Earthly Branches | 12 | Zǐ, Chǒu, Yín, Mǎo, Chén, Sì, Wǔ, Wèi, Shēn, Yǒu, Xū, Hài |
The Sexagenary (60–Year) Cycle
Combining 10 Heavenly Stems and 12 Earthly Branches gives 60 unique pairs before repeating:
This 60–year cycle structures Chinese calendrics (years, days, hours)
The number 60 as a base mirrors Babylonian base–60 (sexagesimal), but direct derivation is debated. Scholars see possible influences via Central Asia yet treat this as historically plausible but not proven.
verified — The mathematical relationship LCM(10,12) = 60 is exact.
exploratory — Strong claims of a direct line from Babylonian sexagesimal to Chinese stems/branches remain unproven.
Summary & Evidence Grading
The I Ching and Daoist traditions offer some of the most mathematically rigorous numerical structures in any sacred tradition — a complete binary combinatorial space, square–number text architecture, and precise cosmological cycles.
Verified Observations
| Pattern | Value | Verdict |
|---|---|---|
| Yìjīng binary hierarchy | 2 → 4 → 8 → 64 (2¹ to 2⁶) | verified |
| Shao Yong binary ordering | 0–63 in base-2 | verified |
| Complement pairs | Sum to 63 under binary mapping | verified |
| Leibniz–Yìjīng correspondence | 1701–1703 documented | verified |
| Daodejing chapter count | 81 = 9² = 3⁴ | verified |
| Dao/De split | 37 + 44 chapters | verified |
| Mawangdui reversed order | De before Dao | verified |
| Daozang organization | 3 grottoes + 4 supplements | verified |
| Sexagenary cycle | LCM(10, 12) = 60 | verified |
| Five Phases / Eight Trigrams | 5 / 8 | verified |
Remarkable Observations
remarkable — 81 as 9²/3⁴ in a text steeped in 3–fold cosmology; 1→2→3→“ten thousand things” as numerical metaphysics.
remarkable — The 2→4→8→64 hierarchy paralleling DNA’s 4 bases, 16 base–pairs, 64 codons — a modern structural analogy.
remarkable — Walsh–Hadamard matrix symmetries when hexagrams are arranged on 8×8 grids (Petoukhov).
Exploratory Claims
exploratory — Any claim that the Yìjīng originally encoded genetics or formal binary algebra.
exploratory — Direct derivation of the Chinese sexagenary cycle from Babylonian base–60.
exploratory — Any precise, numerologically tuned total text count in the Daozang.
Codex Numerica Classification
I Ching and Daoism can be modeled across four layers:
| Layer | Key Numbers |
|---|---|
| Yìjīng binary | 2–4–8–64, Shao Yong 0–63, complement pairs summing to 63 |
| Daodejing square | 81 chapters (3–powered), Dao/De 37/44, 1–2–3 generative formula |
| Daozang structural | 3 grottoes + 4 supplements, 12 subsections, ∼1,500 texts |
| Cosmological/cycle | 5 elements, 8 trigrams, 10/12 stems/branches, 60–year lcm cycle |
References & Reliable Sources
Yìjīng & Binary Mathematics
Petoukhov, S. (2017) — “The System of Genetic Code and the I Ching”: petoukhov.com
Genetic Code and I Ching Matrix Analysis — PubMed: pubmed.ncbi.nlm.nih.gov
Symmetry in Genetic Code and I Ching — PMC: ncbi.nlm.nih.gov/pmc
Leibniz & Binary History
Leibniz and the I Ching Binary System — Inverse: inverse.com
Historical Discussion of Leibniz’s Binary Derivation — Reddit r/iching: reddit.com/r/iching
Daodejing
Daodejing Chapter Structure Analysis — Jim Cleaver: jimcleaver.com
Mawangdui Manuscripts — Jim Cleaver: jimcleaver.com
Daodejing Translations Index — Terebess Asia Online: terebess.hu
Daozang & Daoist Canon
Daozang — Wikipedia: en.wikipedia.org/wiki/Daozang
The Daoist Canon — DaoInfo: en.daoinfo.org
Daozang Organization — Kenyon College: www2.kenyon.edu
Cosmological Cycles
Sexagenary Cycle and Cosmological Numbers — Wikipedia: en.wikipedia.org
Base-60 Cross-Cultural Analysis — arXiv: arxiv.org