What does Flying-Star Light, Sound and Timing conclude, in numbers, about “The Eighty-One Pairs: Stillness and Movement in Every Palace”?

Answer: This chapter has written out all eighty-one mountain-facing pairs. Each pair is read on three levels: the five-phase relation (quiet feeds active, active feeds quiet, quiet checks active, active checks quiet, same phase), the classical name (one and four in one palace, two and five combined, the fighting-bull hazard, crossed swords, nine and seven in one rut, fire burning the gate of heaven, purple and yellow poison, and the four River Chart couples), and timeliness. p25 shows that the standard charts of period 9 contain only nine pairs, each used once per chart, every one summing to a multiple of 9; period 8 has 41. p26 shows that two thirds of the slots of period 9 are checking pairs, and that across all nine periods only 5-5 never occurs. p27 lists the source periods of every pair. The principle behind the verdicts fits in one sentence: in the quiet part, ask whether the mountain star lets people sleep and sit in peace; in the active part, ask whether the facing star is worth opening the door and walking for; put the numbers in season where the room is used, and the numbers out of season and the five yellow where it is used least.

Scope of the numbers: Both traditions are stated exactly and computed to the end by their own arithmetic; the combination of the three is the book's prescription and a testable hypothesis, not a demonstrated effect. Marked boxes separate published evidence, runnable Python calculations, classical sources and the author's 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: 27, 41

period 9: rows = mountain star a, columns = facing star b
12 3 4 5 6 7 8 9
10 0 0 0 0 0 0 24 0
20 0 0 0 0 0 24 0 0
30 0 0 0 0 24 0 0 0
40 0 0 0 24 0 0 0 0
50 0 0 24 0 0 0 0 0
60 0 24 0 0 0 0 0 0
70 24 0 0 0 0 0 0 0
824 0 0 0 0 0 0 0 0
90 0 0 0 0 0 0 0 24
slots 216, pairs seen 9, never seen 72
period 8: rows = mountain star a, columns = facing star b
12 3 4 5 6 7 8 9
10 0 3 3 0 12 3 3 0
20 0 0 3 15 0 0 3 3
33 0 0 12 3 3 0 0 3
43 3 12 0 0 3 3 0 0
50 15 3 0 0 0 3 3 0
612 0 3 3 0 0 0 3 3
73 0 0 3 3 0 0 0 15
83 3 0 0 3 3 0 12 0
90 3 3 0 0 3 15 0 0
slots 216, pairs seen 41, never seen 40
both periods432 slots, uniform share per pair 0.0123
most frequent (27 slots, 0.0625)1-8 3-6 6-3 8-1
never seen in either period1-1 1-2 1-5 1-9 2-1 2-2 2-3 2-6 3-2 3-3 3-7 3-8 4-4 4-8 4-9 5-1 5-5 5-6 5-9 6-2 6-5 6-6 6-7 7-3 7-6 7-7 7-8 8-3 8-4 8-7 8-9 9-1 9-4 9-5 9-8
equal pairs a-a36 slots (0.0833); sum-to-ten pairs: 12 slots (0.0278)
Show the full program
# Chapter 5. p25: How often each mountain-facing pair occurs in the 48 charts of periods 9 and 8.
# Method (the house xuankong arithmetic, as in the earlier flying-star book):
# the period chart puts the period number P in the centre and flies it
# forward along C, NW, W, NE, S, N, SW, E, SE. The mountain-star chart
# takes as its centre the period-chart number n in the sitting palace,
# the facing-star chart the number in the facing palace. Each side chart
# flies forward or backward by the polarity of the mountain in the same
# position (earth, heaven, man) inside the palace whose Lo Shu number is
# n; when n = 5 the sitting (or facing) palace itself is used. Only the
# standard charts are built (no replacement stars). Every chart has nine
# palaces, so 24 sitting mountains give 216 palace slots per period. For
# each pair "a-b" (mountain star a, facing star b) we count the slots.
LOSHU = {"SE": 4, "S": 9, "SW": 2, "E": 3, "C": 5, "W": 7,
         "NE": 8, "N": 1, "NW": 6}
PATH = ["C", "NW", "W", "NE", "S", "N", "SW", "E", "SE"]
OPP = {"N": "S", "S": "N", "E": "W", "W": "E", "NE": "SW", "SW": "NE",
       "NW": "SE", "SE": "NW"}
PAL_ORDER = ["N", "NE", "E", "SE", "S", "SW", "W", "NW"]

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

def fly(c, sign):
    return {p: norm(c + sign * k) for k, p in enumerate(PATH)}

def polarity(number, pos):
    cardinal = number in (1, 3, 7, 9)
    return (1, -1, -1)[pos] if cardinal else (-1, 1, 1)[pos]

def side(base, pal, pos):
    n = base[pal]
    ref = LOSHU[pal] if n == 5 else n
    return fly(n, polarity(ref, pos))

def chart(period, i):
    base = fly(period, 1)
    sit = PAL_ORDER[i // 3]
    face = OPP[sit]
    return base, side(base, sit, i % 3), side(base, face, i % 3)

def counts(period):
    c = {(a, b): 0 for a in range(1, 10) for b in range(1, 10)}
    for i in range(24):
        base, m, f = chart(period, i)
        for p in PATH:
            c[(m[p], f[p])] += 1
    return c

if __name__ == "__main__":
    tot = {k: 0 for k in counts(9)}
    for per in (9, 8):
        c = counts(per)
        print("   period {}: rows = mountain star a, columns = facing star b".format(per))
        print("        " + " ".join("{:3d}".format(b) for b in range(1, 10)))
        for a in range(1, 10):
            print("   {:3d}  ".format(a) + " ".join(
                "{:3d}".format(c[(a, b)]) for b in range(1, 10)))
        zero = [k for k in c if c[k] == 0]
        print("   slots {}, pairs seen {}, never seen {}".format(
            sum(c.values()), 81 - len(zero), len(zero)))
        for k in tot:
            tot[k] += c[k]
    n = sum(tot.values())
    top = max(tot.values())
    print("\n   both periods: {} slots, uniform share per pair {:.4f}".format(n, 1 / 81))
    print("   most frequent ({} slots, {:.4f}): {}".format(top, top / n, " ".join(
        "{}-{}".format(*k) for k in sorted(tot) if tot[k] == top)))
    print("   never seen in either period: {}".format(" ".join(
        "{}-{}".format(*k) for k in sorted(tot) if tot[k] == 0) or "none"))
    same = sum(tot[(a, a)] for a in range(1, 10))
    ten = sum(tot[(a, 10 - a)] for a in range(1, 10))
    print("   equal pairs a-a: {} slots ({:.4f}); sum-to-ten pairs: {} slots ({:.4f})".format(
        same, same / n, ten, ten / n))

Single source and citation

Fan, Y. (2026). The Xuankong Flying-Star Sound-and-Light Field and Hamburg Midpoint Timing Codex (Version 1.0.0), Chapter 5: The Eighty-One Pairs: Stillness and Movement in Every Palace. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-122 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026122,
  author    = {Fan, Yafu},
  title     = {The Xuankong Flying-Star Sound-and-Light Field and Hamburg Midpoint Timing Codex},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book