Fu Xi Sequence
伏羲序卦
Fu Xi Xu Gua (伏羲序卦) means 'Fu Xi's ordering of the hexagrams' — the arrangement of 64 hexagrams in binary numerical order (from Kun/000000 to Qian/111111), attributed to the mythical sage-emperor Fu Xi (伏羲) and systematized by the Song dynasty cosmologist Shao Yong (邵雍, 1011-1077).
Definition
Pronunciation: fú xī xù guà
Also spelled: Fuxi Xu Gua, Earlier Heaven Hexagram Order, Binary Sequence, Natural Order, Xiantian Sequence, 先天序卦
Fu Xi Xu Gua (伏羲序卦) means 'Fu Xi's ordering of the hexagrams' — the arrangement of 64 hexagrams in binary numerical order (from Kun/000000 to Qian/111111), attributed to the mythical sage-emperor Fu Xi (伏羲) and systematized by the Song dynasty cosmologist Shao Yong (邵雍, 1011-1077).
Etymology
Fu Xi (伏羲) is the mythical first of the Three Sovereigns (三皇, San Huang) of Chinese legend, credited with inventing the trigrams by observing patterns in the natural world. The Xici Zhuan states: 'When in ancient times Bao Xi [Fu Xi] ruled the world, he looked upward and contemplated the images in the heavens; he looked downward and contemplated the patterns on earth. He contemplated the markings of birds and beasts and the adaptations to the regions. He proceeded directly from himself and indirectly from objects. Thus he invented the eight trigrams.' The Fu Xi Sequence of hexagrams was not directly attributed to Fu Xi until Shao Yong constructed it in the 11th century CE, but Shao Yong framed his work as recovering Fu Xi's original cosmological order — the xiantian (先天, 'before heaven' or 'earlier heaven') arrangement that preceded King Wen's houtian (後天, 'after heaven') historical ordering.
About Fu Xi Sequence
The Fu Xi Sequence arranges the 64 hexagrams in strict binary numerical order. Reading each hexagram from bottom to top, with yin lines as 0 and yang lines as 1, the sequence runs from 000000 (Kun, hexagram value 0) through 000001 (Bo, value 1), 000010 (Bi, value 2), and so on to 111111 (Qian, value 63). This is identical to counting from 0 to 63 in base-2 arithmetic.
Shao Yong (1011-1077) constructed this sequence in his magnum opus Huangji Jingshi (Supreme Principles Governing the World), presenting it as the original cosmic order from which the King Wen Sequence was a practical derivation. Shao Yong displayed the 64 hexagrams in two formats: a circle (the Fuxi liushisi gua yuantu, 'Fu Xi circular arrangement of 64 hexagrams') and a square (the Fuxi liushisi gua fangtu, 'Fu Xi square arrangement of 64 hexagrams'). In the circular arrangement, the hexagrams progress around the circumference in binary order, with Qian (pure yang) at the top and Kun (pure yin) at the bottom. In the square arrangement, the 64 hexagrams fill an 8x8 grid where the upper trigram determines the column and the lower trigram determines the row.
The mathematical precision of Shao Yong's arrangement attracted the attention of Joachim Bouvet, a Jesuit missionary at the court of the Kangxi Emperor in Beijing. In 1701, Bouvet sent Shao Yong's diagrams to Gottfried Wilhelm Leibniz in Hanover. Leibniz had independently developed binary arithmetic during the 1670s-80s and immediately recognized the hexagram sequence as equivalent to his binary number system. In his 1703 paper 'Explication de l'Arithmetique Binaire, qui se sert des seuls caracteres 0 et 1, avec des Remarques sur son utilite, et sur ce qu'elle donne le sens des anciennes figures Chinoises de Fohy,' Leibniz published the correspondence between his binary numbers and the Fu Xi hexagram order, interpreting it as evidence that ancient Chinese sages had discovered a universal mathematical truth.
Whether Shao Yong himself understood binary arithmetic as such is debated. His interests were primarily cosmological: he sought to demonstrate that the I Ching's hexagram system reflected the inherent mathematical structure of the cosmos. His 'method of cutting in half' (yi fen wei er 一分为二) — which generates the sequence by progressively bisecting yin-yang alternatives — is procedurally identical to constructing a binary tree, though Shao Yong described it in cosmological rather than mathematical language. He wrote: 'The Supreme Ultimate divides and becomes two. Two divides and becomes four. Four divides and becomes eight. Eight divides and becomes sixteen. Sixteen divides and becomes thirty-two. Thirty-two divides and becomes sixty-four.'
The Fu Xi Sequence encodes several structural properties absent from the King Wen Sequence:
Complementation symmetry: Hexagrams at positions equidistant from the center of the sequence are bitwise complements of each other. Position 0 (Kun, 000000) and position 63 (Qian, 111111) are complements. Position 1 (Bo, 000001) and position 62 (Gou, 111110) are complements. This means the sequence reads the same in reverse if you swap yin and yang.
Trigram grouping: The first 8 hexagrams all have Kun (earth) as the upper trigram. The next 8 have Gen (mountain). Then Kan (water), Xun (wind), Kun again as lower... — the pattern systematically exhausts all trigram pairings in a predictable order.
Recursive self-similarity: The 64 hexagrams contain the 8 trigrams' structure at every scale. The binary tree that generates the sequence is fractal — each level of bisection reproduces the structure of the whole.
Zhu Xi, Shao Yong's intellectual successor in many respects, incorporated the Fu Xi diagrams into his Zhouyi Benyi (1177) as prefatory material, establishing their canonical status alongside the King Wen Sequence. However, Zhu Xi emphasized that the Fu Xi arrangement represented cosmological principle (ti 體, substance/structure) while the King Wen arrangement represented practical application (yong 用, function/use). Both were necessary; neither was sufficient alone.
Modern information theory has noted that the Fu Xi Sequence is a Gray code predecessor — though not a true Gray code (which changes only one bit per step), it exhausts all binary states of length 6, making it a complete enumeration of a 6-dimensional binary space. The sequence has attracted interest from researchers in complex systems, artificial life, and computational cosmology as an early example of systematic binary enumeration applied to modeling reality.
The Fu Xi Sequence also underpins the xiantian (Earlier Heaven) arrangement of the eight trigrams, which places opposite trigrams facing each other: Qian (111) faces Kun (000), Li (101) faces Kan (010), Zhen (100) faces Xun (011), Dui (110) faces Gen (001). This arrangement maximizes structural contrast between facing pairs — each pair sums to 111 in binary (7 in decimal), creating perfect complementary balance.
Significance
The Fu Xi Sequence occupies a unique position in intellectual history: it is simultaneously an ancient cosmological diagram and a modern mathematical structure. Shao Yong's 11th-century arrangement of the hexagrams is mathematically equivalent to the binary number system that Leibniz would independently develop six centuries later. This convergence — discovered by Leibniz himself through Bouvet's letters — demonstrated that the hexagram system encodes genuine mathematical structure, not merely symbolic or literary meaning.
Within the I Ching tradition, the Fu Xi Sequence represents the 'before heaven' (xiantian) order — the blueprint of cosmic possibility before it manifests in the temporal, historical sequence of King Wen. It is the I Ching viewed sub specie aeternitatis: all possible states laid out in their logical order, without narrative, without moral judgment, pure structure.
The sequence's influence extends beyond the I Ching. Its binary logic informed Shao Yong's theory of cosmic cycles (yuanhui yun shi 元会运世), which predicted historical events through numerical periodization. Korean, Japanese, and Vietnamese adaptations of I Ching cosmology preserved the Fu Xi diagrams as foundational references. The encounter between Bouvet, Leibniz, and Shao Yong's diagrams remains one of the most significant moments of intellectual exchange between Chinese and European civilizations.
Connections
The Fu Xi Sequence organizes hexagrams by the binary values of their component trigrams, contrasting with the King Wen Sequence's narrative-pairing logic. The Earlier Heaven trigram arrangement that underlies the Fu Xi order places complementary trigrams in opposition, maximizing structural balance.
Leibniz's recognition of binary mathematics in the Fu Xi diagrams connects the I Ching to the foundations of modern computing — every digital computer operates on the same binary logic that Shao Yong systematized from the hexagram tradition. The sequence's recursive self-similarity also connects to fractal geometry and sacred geometry traditions that identify self-similar patterns as fundamental to cosmic structure.
Shao Yong's cosmological application of the Fu Xi Sequence — using binary periodization to model historical cycles — parallels the Jyotish concept of yugas (cosmic ages) and the Western Great Year tradition, where mathematical cycles are applied to the prediction of civilizational phases.
See Also
Further Reading
- Shao Yong, Huangji Jingshi, excerpts in Kidder Smith et al., Sung Dynasty Uses of the I Ching. Princeton University Press, 1990.
- Gottfried Wilhelm Leibniz, 'Explication de l'Arithmetique Binaire' (1703), reprinted in Daniel J. Cook and Henry Rosemont Jr., Gottfried Wilhelm Leibniz: Writings on China. Open Court, 1994.
- Joseph Needham, Science and Civilisation in China, Vol. 2, section on Shao Yong and binary arithmetic. Cambridge University Press, 1956.
- Bent Nielsen, A Companion to Yi Jing Numerology and Cosmology, Chapter 4 on Shao Yong's diagrams. RoutledgeCurzon, 2003.
- Anne D. Birdwhistell, Transition to Neo-Confucianism: Shao Yung on Knowledge and Symbols of Reality. Stanford University Press, 1989.
- Richard Wilhelm (trans.), The I Ching or Book of Changes, Appendix on the Earlier Heaven arrangement. Princeton University Press, 1950.
Frequently Asked Questions
Did the ancient Chinese actually invent binary mathematics?
This depends on definitions. Shao Yong's 11th-century arrangement of the hexagrams is structurally identical to binary counting from 0 to 63, and his 'method of cutting in half' is procedurally identical to building a binary tree. However, Shao Yong described his work in cosmological language, not mathematical notation. He did not formalize binary arithmetic as a calculating tool, define place value in a base-2 system, or develop binary computation rules. Leibniz did all of these independently in the 1670s-80s before learning of the Chinese hexagram tradition. When Bouvet sent him Shao Yong's diagrams in 1701, Leibniz recognized structural equivalence, not intellectual debt. The fairest assessment: the hexagram system embodies binary mathematical structure, and Chinese scholars exploited that structure for cosmological reasoning, but they did not develop binary mathematics as a formal discipline. The encounter illustrates how the same abstract structure can be discovered independently through different intellectual frameworks — Chinese cosmology and European mathematics arrived at identical binary enumerations from entirely different starting points.
How does the Fu Xi Sequence differ from the King Wen Sequence in practice?
The two sequences serve different functions and are rarely confused in practice. The King Wen Sequence is the practical sequence — it determines the hexagram numbers used in I Ching consultation, assigns each hexagram its traditional name and texts, and structures every edition of the I Ching from ancient bamboo strips to modern translations. When someone says 'Hexagram 3, Zhun, Difficulty at the Beginning,' they are referencing the King Wen numbering. The Fu Xi Sequence is the cosmological sequence — it organizes hexagrams by structural principle rather than traditional numbering. It is used for understanding the mathematical relationships between hexagrams, for cosmological analysis, for feng shui calculations involving the Earlier Heaven arrangement, and for theoretical study of the I Ching's underlying architecture. A practitioner consults the I Ching using the King Wen order but understands the deep structure of the system through the Fu Xi order. Zhu Xi's analogy captures it: the Fu Xi order reveals the body (ti) of the Changes, the King Wen order reveals the function (yong).
Why is the Fu Xi Sequence attributed to a mythological figure?
Attributing foundational knowledge to mythical sage-emperors was standard Chinese intellectual practice. Fu Xi, the legendary first of the Three Sovereigns, was credited with inventing not only the trigrams but also fishing nets, animal husbandry, and the institution of marriage. These attributions encode a cultural belief that fundamental knowledge comes from inspired observation of natural patterns rather than from purely human reasoning. Shao Yong constructed the binary hexagram sequence in the 11th century CE but attributed it to Fu Xi because he believed he was recovering, not inventing, the original cosmic order. In Shao Yong's framework, King Wen's sequence was a later, historically-conditioned arrangement of the hexagrams for practical use, while the Fu Xi binary order represented the timeless structural truth underlying the system. The attribution also carried political significance: by linking his work to Fu Xi rather than to any historical dynasty, Shao Yong positioned his cosmology as universal and apolitical — a map of reality itself rather than a product of any particular regime.