Section 01

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

LevelElementsCountBinary
MonogramsYin (broken line) and Yang (solid line)2
Bigrams2–line combinations4
Trigrams3–line combinations (Bāguà)8
Hexagrams6–line combinations642⁶
Binary Hierarchy 2 → 4 → 8 → 64
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:

Complement Proof If a hexagram has binary value b (0–63), its complement is 63 − b
Bitwise NOT of a 6–bit word maps b → 63 − b
∴ every complement pair sums to 63
Section 02

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.

/* Shao Yong / Fu Xi binary sequence */ Hexagram 0: ːː ːː ːː ːː ːː ːː = 000000 (Kūn, The Receptive) Hexagram 1: ːː ːː ːː ːː ːː — = 000001 Hexagram 2: ːː ːː ːː ːː — ːː = 000010 ... Hexagram 63: — — — — — — = 111111 (Qián, The Creative)

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.

Section 03

King Wen vs Fu Xi Sequences

verified — distinct ordering systems

Two Orderings of 64 Hexagrams

SequencePrincipleProperties
King Wen sequenceTraditional symbolic pairings, narrative flowNot a simple binary count; exhibits pairing symmetries and structural reflections
Fu Xi / Shao Yong sequenceBinary–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.

Section 04

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 LevelCountGenetic ParallelCount
Yin/Yang lines2Purine/Pyrimidine classes2
Bigrams4DNA bases (A, T, G, C)4
Trigrams8Base doublets (partial)
Hexagrams64Genetic codons64

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.

Section 05

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:

Square and Power of Three 81 = 9² = 3⁴
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.

SectionChaptersApprox. Characters
Dao (道, “The Way”)1–37∼2,400
De (德, “Virtue/Power”)38–81∼3,100
Total81 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:

/* Daodejing, Chapter 42 */ Dao gives birth to One; One gives birth to Two; Two gives birth to Three; Three gives birth to the ten thousand things.
Generative Sequence Dao → 1 → 2 → 3 → ∞
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.

Section 06

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

CategoryNameTranslation
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.).

Organizational Mathematics 3 grottoes + 4 supplements = 7 major divisions
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.

Section 07

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

SystemCountElements
Five Phases (Wǔxíng)5Wood, Fire, Earth, Metal, Water
Eight Trigrams (Bāguà)8Qián, Kūn, Zhèn, Xùn, Kǎn, Lí, Gèn, Duì
Heavenly Stems10Jiǎ, Yǐ, Bǐng, Dīng, Wù, Jǐ, Gēng, Xīn, Rén, Guǐ
Earthly Branches12Zǐ, 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:

Least Common Multiple LCM(10, 12) = 60
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.

Section 08

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

PatternValueVerdict
Yìjīng binary hierarchy2 → 4 → 8 → 64 (2¹ to 2⁶)verified
Shao Yong binary ordering0–63 in base-2verified
Complement pairsSum to 63 under binary mappingverified
Leibniz–Yìjīng correspondence1701–1703 documentedverified
Daodejing chapter count81 = 9² = 3⁴verified
Dao/De split37 + 44 chaptersverified
Mawangdui reversed orderDe before Daoverified
Daozang organization3 grottoes + 4 supplementsverified
Sexagenary cycleLCM(10, 12) = 60verified
Five Phases / Eight Trigrams5 / 8verified

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:

LayerKey Numbers
Yìjīng binary2–4–8–64, Shao Yong 0–63, complement pairs summing to 63
Daodejing square81 chapters (3–powered), Dao/De 37/44, 1–2–3 generative formula
Daozang structural3 grottoes + 4 supplements, 12 subsections, ∼1,500 texts
Cosmological/cycle5 elements, 8 trigrams, 10/12 stems/branches, 60–year lcm cycle
Section 09

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