China · I Ching & Jia Xian / Yang Hui Triangle
Jia Xian 1050 · Shao Yong 1060 · Yang Hui 1261 · Zhu Shijie 1303
☯ Song / Yuan Binary & Binomial Lab

I Ching (易經) Hypercube & Yang Hui's Triangle

26=∑k=06(6k)=1+6+15+20+15+6+1=642^6 = \sum_{k=0}^{6}\binom{6}{k} = 1 + 6 + 15 + 20 + 15 + 6 + 1 = 64
⊢ Lean 4
I · Binary {0, 1}⁶

6-Bit Hexagram Loom & Shao Yong's 1060 CE Cosmos

Visitors click lines or cosmos wedges
爻象織機 · L1 (MSB) → L6 (LSB)Click line: 0 ↔ 1
h=∑i=05bi2i∈{0,…,63}=1 ⁣⋅ ⁣25+0 ⁣⋅ ⁣24+1 ⁣⋅ ⁣23+0 ⁣⋅ ⁣22+1 ⁣⋅ ⁣21+0 ⁣⋅ ⁣20=42\begin{aligned} h &= \sum_{i=0}^{5} b_i 2^i \in \{0,\dots,63\} \\ &= 1\!\cdot\!2^5 + 0\!\cdot\!2^4 + 1\!\cdot\!2^3 + 0\!\cdot\!2^2 + 1\!\cdot\!2^1 + 0\!\cdot\!2^0 = \mathbf{42} \end{aligned}
▲ Upper 外卦 (L4–L6) · ▼ Lower 內卦 (L1–L3)
䷾
既濟Jì Jì#63 · U+4DFE
After Completion · Equilibrium
h+hˉ=42+21=26−1=63h + \bar{h} = 42 + 21 = 2^6 - 1 = 63
⊢ Lean 4
Binary101010₂
Decimal h42
Weight k k=3 · C(6,3)=20
☵
Upper 外卦
坎 Kǎn
Water (水) · 010₂
☲
Lower 內卦
離 Lí
Fire (火) · 101₂
八卦 Bagua Builder
📜 Shao Yong (1060 CE) → Bouvet (1701) → Leibniz Binary Memoir (1703)
䷾ 既濟 · 101010₂ = 42
⚊ 1 ⚋ 0 ䷾ #63 Antipodal: h + h̄ = 63
II · Binomial Bridge

Hamming Weight k Partitions 64 Hexagrams into Row 6

1, 6, 15, 20, 15, 6, 1
(1+x)6=∑k=06(6k)xk=1+6x+15x2+20x3+15x4+6x5+x6  ⟹  (63)=20(1+x)^6 = \sum_{k=0}^{6}\binom{6}{k}x^k = 1 + 6x + 15x^{2} + \boxed{\mathbf{20x^{3}}} + 15x^{4} + 6x^{5} + x^{6} \implies \binom{6}{3} = \mathbf{20}
⊢ Lean 4
C(6, 0)
1
0⚊ · 6⚋
C(6, 1)
6
1⚊ · 5⚋
C(6, 2)
15
2⚊ · 4⚋
C(6, 3)
20
3⚊ · 3⚋
C(6, 4)
15
4⚊ · 2⚋
C(6, 5)
6
5⚊ · 1⚋
C(6, 6)
1
6⚊ · 0⚋
III · 楊輝三角 & 筹算

Yang Hui Triangle & Counting-Rod Explorer

~600 Years Before Pascal (1654)
c. 1050 CE · SongJia Xian (賈憲)Kaifang Benyuan Binomial Table
c. 1060 CE · SongShao Yong (邵雍)64-Hexagram Binary Circle & 8×8
1261 & 1303 CEYang Hui & Zhu ShijieRod-Numeral Print & Hockey-Stick Sums
1654 & 1703 CEPascal & LeibnizArithmetical Triangle & Binary Paper