关于「人盘、神盘与转盘生成的置换群」,《纳甲与奇门的组合计算》给出的定量结论是什么?
结论:第五章加上人盘与神盘:1,080 个局时只给出 727 种不同的三盘组合;转盘运算复合起来生成整个对称群 S9,共 362,880 个排列,但排盘只用到其中 72 种,因为每个阴遁地盘都是某个阳遁地盘转半圈。
数据口径:书中以标注框区分证据、16 段可运行的 Python 程序、原典与假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 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.查看完整验算程序
# 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.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《纳甲装卦与奇门遁甲排盘的组合计算》第 5 章「人盘、神盘与转盘生成的置换群」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090182
DOI: 10.5281/zenodo.24090182 · 阅读本章所在专著 · 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}
}