What does Najia and Qimen Combinatorics conclude, in numbers, about “The Human and Spirit Plates, and the Group the Plates Generate”?

Answer: 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, yet charts use only 72 of them, because every yin earth plate is a yang plate turned half way round.

Scope of the numbers: Marked boxes separate evidence, 16 runnable Python programs, classical sources and hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. printed values that match the answer: 1080, 727

   door turn in eighths (turn:count):
     0:240 1:120 2:120 3:120 4:120 5:120 6:120 7:120
   door fu yin 0.2222;  door fan yin 0.1111
   (star turn, door turn) pairs that occur: 64 of 64
   star and door both fu yin: 0.1241
   distinct charts (earth plate, star turn, door turn): 727
   of 1,080 bureau-hours; spirits add nothing, being fixed by
   the star turn and the dun
Reading: the human plate is a second rotation of the same
ring, coupled to the first through the hour. The 1,080 bureau-
hours give only 727 distinct arrangements of the three plates:
different hours of one bureau can land on the same two turns,
and only the hour stem itself then tells them apart.
Show the full program
# Chapter 5. The human plate (doors), the spirits, and how many charts.
# Doors sit at home on the outer ring like the stars (Xiu 1, Sheng 8,
# Shang 3, Du 4, Jing 9, Si 2, Jing 7, Kai 6). The duty door is the door
# of the leading symbol's palace; it moves from there one palace per
# hour since the decade began, in Luoshu number order (forward in yang
# bureaus, backward in yin), through the centre if need be (counted as
# Kun 2), and all eight doors turn with it. The eight spirits start at
# the duty star's new palace and run round the ring, clockwise in yang
# bureaus and anticlockwise in yin: they add no freedom of their own.
SYMBOLS = ("wu", "ji", "geng", "xin", "ren", "gui", "ding", "bing", "yi")
STEMS = ("jia", "yi", "bing", "ding", "wu", "ji", "geng", "xin", "ren",
         "gui")
RING = (1, 8, 3, 4, 9, 2, 7, 6)
LEADER = ("wu", "ji", "geng", "xin", "ren", "gui")

def nine(x):
    return (x - 1) % 9 + 1

def outer(p):
    return 2 if p == 5 else p

def turns(b, yang, k):
    e = {s: nine(b + i) if yang else nine(b - i)
         for i, s in enumerate(SYMBOLS)}
    lead, stem, h = LEADER[k // 10], STEMS[k % 10], k % 10
    src = outer(e[lead])
    star = (RING.index(outer(e[lead if stem == "jia" else stem]))
            - RING.index(src)) % 8
    dest = nine(e[lead] + h) if yang else nine(e[lead] - h)
    door = (RING.index(outer(dest)) - RING.index(src)) % 8
    return star, door

if __name__ == "__main__":
    joint, charts = {}, set()
    for b in range(1, 10):
        for y in (1, 0):
            for k in range(60):
                s, d = turns(b, y, k)
                joint[s, d] = joint.get((s, d), 0) + 1
                charts.add((b, y, s, d))
    n = sum(joint.values())
    door = [sum(c for (s, d), c in joint.items() if d == r)
            for r in range(8)]
    print("   door turn in eighths (turn:count):")
    print("     " + " ".join("{}:{}".format(r, door[r]) for r in range(8)))
    print("   door fu yin {:.4f};  door fan yin {:.4f}".format(
        door[0] / n, door[4] / n))
    print("   (star turn, door turn) pairs that occur: {} of 64".format(
        len(joint)))
    both = joint.get((0, 0), 0)
    print("   star and door both fu yin: {:.4f}".format(both / n))
    print("   distinct charts (earth plate, star turn, door turn): {:,d}"
          .format(len(charts)))
    print("   of 1,080 bureau-hours; spirits add nothing, being fixed by")
    print("   the star turn and the dun")
    print("\nReading: the human plate is a second rotation of the same")
    print("ring, coupled to the first through the hour. The 1,080 bureau-")
    print("hours give only 727 distinct arrangements of the three plates:")
    print("different hours of one bureau can land on the same two turns,")
    print("and only the hour stem itself then tells them apart.")

Single source and citation

Fan, Y. (2026). Najia Hexagram Encoding and Qimen Dunjia Combinatorial Engines (Version 1.0.0), Chapter 5: The Human and Spirit Plates, and the Group the Plates Generate. 5D Library. https://doi.org/10.5281/zenodo.24090182

DOI: 10.5281/zenodo.24090182 · Read the monograph · 5DL-B-067 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026067,
  author    = {Fan, Yafu},
  title     = {Najia Hexagram Encoding and Qimen Dunjia Combinatorial Engines},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090182},
  url       = {https://doi.org/10.5281/zenodo.24090182}
}

Other chapter answers in this book