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
| ren | door N>S | bed S>N | desk SW>NE | store SE>SE stays |
|---|---|---|---|---|
| zi | door S>N | bed N>S | desk NE>SW | store E>NW |
| gui | door S>N | bed N>S | desk NE>SW | store E>NW |
| chou | door SW>SW stays | bed NE>E | desk N>N stays | store SE>W |
| gen | door NE>NE stays | bed SW>W | desk S>S stays | store NW>E |
| yin | door NE>NE stays | bed SW>W | desk S>S stays | store NW>E |
| jia | door E>W | bed SW>NE | desk SE>NW | store S>E |
| mao | door W>E | bed NE>SW | desk NW>SE | store N>NE |
| yi | door W>E | bed NE>SW | desk NW>SE | store N>NE |
| chen | door SE>SE stays | bed NW>E | desk W>NW | store N>NE |
| xun | door NW>NW stays | bed SE>W | desk E>SE | store S>N |
| si | door NW>NW stays | bed SE>W | desk E>SE | store S>N |
| bing | door N>S | bed SW>NE | desk S>N | store SE>SE stays |
| wu | door S>N | bed NE>SW | desk N>S | store E>NW |
| ding | door S>N | bed NE>SW | desk N>S | store E>NW |
| wei | door NE>SW | bed SW>N | desk S>E | store SE>W |
| kun | door SW>NE | bed NE>S | desk N>W | store NW>E |
| shen | door SW>NE | bed NE>S | desk N>W | store NW>E |
| geng | door E>W | bed SE>NW | desk SW>NE | store S>E |
| you | door W>E | bed NW>SE | desk NE>SW | store N>NE |
| xin | door W>E | bed NW>SE | desk NE>SW | store N>NE |
| xu | door NW>SE | bed SE>NW | desk W>E | store N>NE |
| qian | door SE>NW | bed NW>SE | desk E>W | store S>N |
| hai | door SE>NW | bed NW>SE | desk E>W | store 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
- Chapter 1 · Method: Twenty-Four Mountains, Three Layers of Stars, Light and Sound Targets, and the 90-Degree Dial
- Chapter 2 · The Twenty-Four Houses of Period 9: A Sound and Light Prescription for Each
- Chapter 4 · The Nine Numbers as Sound and Light Fields: Illuminance, Colour Temperature and Sound Level
- Chapter 5 · The Eighty-One Pairs: Stillness and Movement in Every Palace
- Chapter 6 · The Seventy-Eight Axes: What to Schedule, What to Avoid, How Long the Window Lasts
- Chapter 7 · Synthesis: A Zone's Star Pair, a Timing Window and One Week's Prescription
- Chapter 8 · Practice: Sample House A, Sample Chart A and a Pre-Registered Test