What does Flying-Star Light, Sound and Timing conclude, in numbers, about “The Twenty-Four Houses of Period 8: Sound and Light Fields of the Older Stock, and the Re-layout for Period 9”?

Answer: The twenty-four charts of period 8 fall six into each of the four classes, and no sitting mountain shares its class with period 9. With the same rule as Chapter 2 (p16) this chapter gave every house its four zones: in the six prosperous houses the traffic is at the front and the bed at the back, in the six reversed houses the other way round. p17 gives the most practical verdict: in no house can the bed stay put on entering period 9, in sixteen houses all four zones must change place, and the traffic route holds only in the six houses sitting chou, gen, yin, chen, xun and si.

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: 16

rendoor N>Sbed S>Ndesk SW>NEstore SE>SE stays
zidoor S>Nbed N>Sdesk NE>SWstore E>NW
guidoor S>Nbed N>Sdesk NE>SWstore E>NW
choudoor SW>SW staysbed NE>Edesk N>N staysstore SE>W
gendoor NE>NE staysbed SW>Wdesk S>S staysstore NW>E
yindoor NE>NE staysbed SW>Wdesk S>S staysstore NW>E
jiadoor E>Wbed SW>NEdesk SE>NWstore S>E
maodoor W>Ebed NE>SWdesk NW>SEstore N>NE
yidoor W>Ebed NE>SWdesk NW>SEstore N>NE
chendoor SE>SE staysbed NW>Edesk W>NWstore N>NE
xundoor NW>NW staysbed SE>Wdesk E>SEstore S>N
sidoor NW>NW staysbed SE>Wdesk E>SEstore S>N
bingdoor N>Sbed SW>NEdesk S>Nstore SE>SE stays
wudoor S>Nbed NE>SWdesk N>Sstore E>NW
dingdoor S>Nbed NE>SWdesk N>Sstore E>NW
weidoor NE>SWbed SW>Ndesk S>Estore SE>W
kundoor SW>NEbed NE>Sdesk N>Wstore NW>E
shendoor SW>NEbed NE>Sdesk N>Wstore NW>E
gengdoor E>Wbed SE>NWdesk SW>NEstore S>E
youdoor W>Ebed NW>SEdesk NE>SWstore N>NE
xindoor W>Ebed NW>SEdesk NE>SWstore N>NE
xudoor NW>SEbed SE>NWdesk W>Estore N>NE
qiandoor SE>NWbed NW>SEdesk E>Wstore S>N
haidoor SE>NWbed NW>SEdesk E>Wstore S>N
roles kept in place, of 24: door 6, bed 0, desk 3, store 2
houses where every role moves: 16 of 24
Show the full program
# Chapter 3. p17: A period-8 house re-occupied in period 9: which zone
# roles stay and which must move, mountain by mountain.
# For each sitting mountain the rule of p13 and p16 is applied to the
# period-8 chart and to the period-9 chart of the same mountain (the
# re-occupation case: a house built 2004-2023 whose owners re-settle it
# after 2024, which this book reads with the period-9 chart). The
# program prints, per mountain, the palace of each role in both periods
# and marks a role "stays" when its palace is unchanged; then it counts
# how many of the 24 houses keep each role in place.
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"]
MOUNTAINS = ("ren zi gui chou gen yin jia mao yi chen xun si bing wu "
             "ding wei kun shen geng you xin xu qian hai").split()

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):
    return (1, -1, -1)[pos] if number in (1, 3, 7, 9) else (-1, 1, 1)[pos]

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

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

def weight(s, P):
    timely = {P: 3, norm(P + 1): 2, norm(P + 2): 1, norm(P - 1): 1}
    if s in timely:
        return timely[s]
    return -2 if s == 5 else (-1 if s in (2, 3, 7) else 0)

def roles(P, i):
    m, f, sit, face = chart(P, i)
    w = {p: (weight(m[p], P), weight(f[p], P)) for p in PAL_ORDER}
    free = list(PAL_ORDER)
    door = max(free, key=lambda p: (w[p][1], p == face))
    free.remove(door)
    bed = max(free, key=lambda p: (w[p][0], p == sit, -w[p][1]))
    free.remove(bed)
    desk = max(free, key=lambda p: (sum(w[p]), w[p][1]))
    free.remove(desk)
    store = min(free, key=lambda p: (sum(w[p]), 5 not in (m[p], f[p])))
    return [(r, p, m[p], f[p]) for r, p in
            (("door", door), ("bed", bed), ("desk", desk), ("store", store))]

if __name__ == "__main__":
    names = ("door", "bed", "desk", "store")
    keep = dict.fromkeys(names, 0)
    for i, name in enumerate(MOUNTAINS):
        a, b = roles(8, i), roles(9, i)
        cells = []
        for k, r in enumerate(names):
            stay = a[k][1] == b[k][1]
            keep[r] += stay
            cells.append("{} {}>{}{}".format(r, a[k][1], b[k][1],
                                             " stays" if stay else ""))
        print("  {:5s} ".format(name) + "  ".join(cells))
    print("roles kept in place, of 24: " + ", ".join(
        "{} {}".format(r, keep[r]) for r in names))
    none = sum(1 for i in range(24)
               if all(x[1] != y[1] for x, y in zip(roles(8, i), roles(9, i))))
    print("houses where every role moves: {} of 24".format(none))

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 3: The Twenty-Four Houses of Period 8: Sound and Light Fields of the Older Stock, and the Re-layout for Period 9. 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