Najia Hexagram Encoding and Qimen Dunjia Combinatorial Engines: chapter answers
Najia six-line divination and Qimen Dunjia are deterministic algorithms on finite sets: the first dresses the sixty-four hexagrams with stems, branches, six relatives, six spirits and void branches; the second turns a double-hour into an arrangement on three turning plates. This book writes both in full as programs, studies the groups, cosets and permutations inside their rules, and computes how often different calendar and school conventions give the same moment different charts. It neither claims nor tests that any reading comes true; all data are generated by its programs.
DOI 10.5281/zenodo.24090182 · Read the monograph · 中文版
- Chapter 1 · Jing Fang's Eight Palaces and the Najia: XOR Masks and a Closed Form
The program checks that each of the 64 hexagrams belongs to exactly one palace; in King Wen numbers the Qian palace is 1, 44, 33, 12, 20, 23, 35, 14 (Qian, Gou, Dun, Pi, Guan, Bo, Jin, Da You) and the Kun palace 2, 24,… - Chapter 2 · Six Relatives, Six Spirits and the Void Branches
Chapter 2 computes how the six relatives fall on the 384 lines: 44 of the 64 hexagrams lack at least one relative, so hidden spirits are routine; the six spirits start by the day stem's element, with earth split between… - Chapter 3 · The Seventy-Two Bureau Numbers and Two Calendars
Chapter 3 shows that the 72 bureau numbers of the solar terms come from eight starting palaces and two step rules, and that 1,080 is 18 bureaus times 60 double-hours; compared double-hour by double-hour from 2000 to 202… - Chapter 4 · Earth Plate and Heaven Plate: a Dihedral Group and a Ring Rotation
Chapter 4 shows that the earth plate is a dihedral group and the heaven plate a rotation of the eight outer palaces; fu yin takes 0.2222 of all bureau-hours, more than twice the 0.1000 of jia hours, and fan yin 0.1111. - Chapter 5 · The Human and Spirit Plates, and the Group the Plates Generate
Chapter 5 adds the human and spirit plates: the 1,080 bureau-hours give only 727 distinct combinations of the three plates; composed freely, the plate moves generate the whole symmetric group S9 of 362,880 permutations,… - Chapter 6 · How Often the Patterns Occur, How Conventions Disagree, and Neighbouring Hours
Chapter 6 computes the patterns: a punishment is on the heaven plate in 0.5296 of bureau-hours, and three common tomb rules disagree about the same chart, pair by pair, in 0.1944 to 0.4046 of cases; the verse of the fiv… - Chapter 7 · The Jing shi yizhuan and the Rhapsody of the Old Fisherman
The palace order of the Jing shi yizhuan puts the world line on the two middle lines for half of all hexagrams and lets the generation be read directly from upper XOR lower. The 1,080, 72 and 18 of the Rhapsody are thre… - Chapter 8 · A Budget of Conventions and a Pre-Registered Matching Test
Chapter 8 gives a budget of conventions (two engines with different choices disagree on 0.4800 of double-hours in Shanghai) and a pre-registered matching test (447 participants). Marked boxes separate evidence, 16 runna…
Illustrative model calculation, not a live quote