5D Library › 玛雅卓尔金双模齿轮、神谕十字对合变换与六十四闸门网络渗流 · English
第二章 长纪年、两个关联常数与 Dreamspell 计数
从儒略日到长纪年
玛雅长纪年把日子写成五位混合进制数:伯克盾(144000 天)、卡顿(7200 天)、盾(360 天)、乌纳尔(20 天)与金(1 天)。要把它对应到公历,需要一个关联常数:长纪年零点 13.0.0.0.0 所对应的儒略日。最常用的是 GMT 常数 584283,另一种常见取值是 584285 (Aveni 2001)。危地马拉高地至今仍在使用的 260 日计数与 584283 一致 (Tedlock 1992)。
推导
# Chapter 2. p03: Long Count, two correlation constants and the Dreamspell
# count. JDN from a Gregorian date (Fliegel - Van Flandern). The Long Count
# is days since 13.0.0.0.0 at JDN 584283 (GMT) or 584285. Kin k (1..260)
# packs tone and sign: tone = (k - 1) mod 13 + 1, sign = (k - 1) mod 20 + 1.
# The traditional count never skips a day; the Dreamspell count does not
# advance on 29 February. Dreamspell anchor: kin 55 on 24 Dec 2013.
import datetime as dt
def jdn(y, m, d):
a = (14 - m) // 12
yy, mm = y + 4800 - a, m + 12 * a - 3
return (d + (153 * mm + 2) // 5 + 365 * yy + yy // 4 - yy // 100
+ yy // 400 - 32045)
def kin_from(tone, sign):
return next(k for k in range(1, 261)
if (k - 1) % 13 + 1 == tone and (k - 1) % 20 + 1 == sign)
def long_count(n):
out = []
for unit in (144000, 7200, 360, 20, 1):
out.append(n // unit)
n %= unit
out[0] += 13 if out[0] < 0 else 0
return ".".join(map(str, out))
def trad_kin(j, corr):
return (kin_from(4, 20) - 1 + j - corr) % 260 + 1
def leap_days(a, b):
return sum(1 for y in range(a.year, b.year + 1)
if (y % 4 == 0 and y % 100 != 0 or y % 400 == 0)
and a <= dt.date(y, 2, 29) <= b)
def dream_kin(date):
ref = dt.date(2013, 12, 24)
lo, hi = sorted((ref, date))
n = (hi - lo).days - leap_days(lo, hi)
n = n if date >= ref else -n
return (55 - 1 + n) % 260 + 1
if __name__ == "__main__":
for d in (dt.date(2012, 12, 21), dt.date(2025, 9, 7),
dt.date(2026, 11, 8)):
j = jdn(d.year, d.month, d.day)
print(" {} JDN {} LC {}".format(d, j, long_count(j - 584283)))
print(" kin GMT {:3d} kin 584285 {:3d} kin Dreamspell {:3d}"
.format(trad_kin(j, 584283), trad_kin(j, 584285),
dream_kin(d)))
print(" offset Dreamspell - traditional (mod 260), 1 Jan of:")
for y in range(1980, 2031, 10):
d = dt.date(y, 1, 1)
off = (dream_kin(d) - trad_kin(jdn(y, 1, 1), 584283)) % 260
print(" {} {:3d}".format(y, off))
a, b = dt.date(1950, 1, 1), dt.date(2029, 12, 31)
same = sum(dream_kin(a + dt.timedelta(i)) ==
trad_kin(jdn(*(a + dt.timedelta(i)).timetuple()[:3]), 584283)
for i in range((b - a).days + 1))
print(" days 1950-2029 with the same kin in both counts: {}".format(
same))
# 2012-12-21 JDN 2456283 LC 13.0.0.0.0
# kin GMT 160 kin 584285 158 kin Dreamspell 207
# 2025-09-07 JDN 2460926 LC 13.0.12.16.3
# kin GMT 123 kin 584285 121 kin Dreamspell 167
# 2026-11-08 JDN 2461353 LC 13.0.14.1.10
# kin GMT 30 kin 584285 28 kin Dreamspell 74
# offset Dreamspell - traditional (mod 260), 1 Jan of:
# 1980 56
# 1990 53
# 2000 51
# 2010 48
# 2020 46
# 2030 43
# days 1950-2029 with the same kin in both counts: 0程序把公历日期换成儒略日,再换成长纪年与 kin 编号(1 到 260,音阶与日符的组合)。2012 年 12 月 21 日是长纪年 13.0.0.0.0,在 GMT 常数下为 kin 160(4 Ajaw),在 584285 下为 kin 158;两个常数相差两天,所以所有日期的 kin 都相差 2。2026 年 11 月 8 日在两个常数下分别为 kin 30 与 kin 28。
Dreamspell 计数
Dreamspell 给每一天一个「星系印记」,也用 260 个 kin,但它规定 2 月 29 日不计入,使每一个公历日期在每一年都对应同一个「年内位置」 (Argüelles and Argüelles 1990)。程序以一个公开的对照值(2013 年 12 月 24 日为 kin 55)为锚点,按「跳过 2 月 29 日」的规则推算,得到 2012 年 12 月 21 日为 kin 207,2025 年 9 月 7 日为 kin 167,与公开的 Dreamspell 计算器一致 (Yōkai Guardian Oracle 2026)。
两种计数的差(模 260)每逢闰年减少 1:1980 年 1 月 1 日为 56,2000 年为 51,2030 年为 43。1950 年到 2029 年间,没有任何一天两种计数给出相同的 kin。
证据
结论:Dreamspell 的星系印记与传统的卓尔金日不是同一个量。 前者是一个固定在公历年上的 260 循环,后者是一个从不间断的日计数。两者的结构都是 ,第三章的代数对两者都成立;但「某人的印记」在两种计数中是不同的 kin。
注
为什么要区分。 把 Dreamspell 的印记称为「玛雅印记」,或把传统日计数的结果套用 Dreamspell 的解释,都是把两个不同的量混为一谈。本书第三章分析 Dreamspell 的神谕规则时,所用的 kin 一律指 Dreamspell 计数。
小结
长纪年是混合进制的日计数,GMT 常数 584283 与 584285 相差两天。Dreamspell 在 2 月 29 日不前进,与传统计数的差随闰年变化,1950 年到 2029 年间从未重合。
参考文献
Fan, Y. (2026). Mayan Tzolkin Modular Gears, Oracle-Cross Involutions and Sixty-Four-Gate Network Percolation: Coprime Cycle Synchronization, Antipode-Analog Permutations and Nine-Center Connected Components [玛雅卓尔金双模齿轮、神谕十字对合变换与六十四闸门网络渗流] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090193 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).