5D Library › Mayan Tzolkin Modular Gears, Oracle-Cross Involutions and Sixty-Four-Gate Network Percolation · 中文

Chapter 2. The Long Count, Two Correlation Constants and the Dreamspell Count

From Julian days to the Long Count

The Maya Long Count writes a day as a five-place mixed-radix number: baktun (144000 days), katun (7200), tun (360), winal (20) and kin (1). To relate it to the Gregorian calendar one needs a correlation constant, the Julian day of the Long Count zero 13.0.0.0.0. The most used is the GMT constant 584283; another common value is 584285 (Aveni 2001). The 260-day count still kept in highland Guatemala agrees with 584283 (Tedlock 1992).

Calculation

# 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

The program converts a Gregorian date to a Julian day and then to the Long Count and a kin number (1 to 260, a combination of tone and day sign). 21 December 2012 is Long Count 13.0.0.0.0, kin 160 (4 Ajaw) under the GMT constant and kin 158 under 584285; the two constants differ by two days, so every date’s kin differs by 2. 8 November 2026 is kin 30 and kin 28 under the two constants.

The Dreamspell count

Dreamspell gives each day a “galactic signature”, also one of 260 kins, but it does not count 29 February, so that each Gregorian date has the same “position within the year” every year (Argüelles and Argüelles 1990). Anchored on one published value (24 December 2013 is kin 55) and counting with the rule “skip 29 February”, the program finds 21 December 2012 to be kin 207 and 7 September 2025 kin 167, in agreement with a published Dreamspell calculator (Yōkai Guardian Oracle 2026).

The difference between the two counts (modulo 260) falls by 1 at every leap year: 56 on 1 January 1980, 51 in 2000, 43 in 2030. Between 1950 and 2029 not a single day has the same kin in both counts.

Difference between the Dreamspell count and the traditional count (GMT 584283): one step down at every 29 February (p03).

Evidence

Conclusion: the Dreamspell signature and the traditional tzolkin day are not the same quantity. The first is a 260-cycle pinned to the Gregorian year, the second an unbroken count of days. Both have the structure ℤ13×ℤ20\mathbb{Z}_{13} \times \mathbb{Z}_{20}, and the algebra of Chapter 3 holds for both; but “a person’s signature” is a different kin in the two counts.

Note

Why the distinction matters. Calling the Dreamspell signature “the Maya signature”, or applying Dreamspell’s interpretations to the traditional day count, confuses two different quantities. When Chapter 3 analyses the Dreamspell oracle rules, kin always means the Dreamspell count.

Summary

The Long Count is a mixed-radix count of days; the GMT constants 584283 and 584285 differ by two days. Dreamspell does not advance on 29 February, so its difference from the traditional count shifts with each leap year, and between 1950 and 2029 the two never coincide.

References

Argüelles, José, and Lloydine Argüelles. 1990. Dreamspell: The Journey of Timeship Earth 2013. Boxed game kit.
Aveni, Anthony F. 2001. Skywatchers: A Revised and Updated Version of Skywatchers of Ancient Mexico. University of Texas Press.
Tedlock, Barbara. 1992. Time and the Highland Maya. Revised. University of New Mexico Press.
Yōkai Guardian Oracle. 2026. Dreamspell Kin Calculator. Web calculator, entries for 24 December 2013 (kin 55) and 7 September 2025 (kin 167). https://yokai.jp/en/maya-calendar/2013-12-24.

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).