5D Library › Modular Numerology, Character-Stroke Hashes and Residue-Class Distributions · 中文
Chapter 2. The Base Rates of Life Path Numbers
Why base rates come first
A statement that holds for one person in nine means something quite different from one that holds for one person in three. The first step in judging any classification is to know how large each class is among people: its base rate (Kahneman and Tversky 1973). The base rate of each life path number is often taken to be one ninth, because there are nine residues. This chapter checks that assumption.
Gregorian months have 28 to 31 days and a leap year has one more, so birth dates are not a set spread evenly over the residues. The next program assumes the same number of births on every calendar day and computes the shares of the life path numbers in three populations: births from 1950 to 2009, births in the 1990s, and births in 1995 alone. Real births rise and fall with the season and the weekday, which can only add to the unevenness below.
Calculation
# Chapter 2. Base rates of life path numbers among people.
# Births are taken as equally likely on every calendar day of the stated
# years (an assumption: real births have a seasonal pattern and weekday
# effects, which only add to the unevenness found here). Convention A of
# the previous program (all digits, stop at 11/22/33) and the plain
# digital root D are compared for three populations.
import datetime as dt
MASTERS = (11, 22, 33)
LABELS = list(range(1, 10)) + [11, 22, 33]
def digit_sum(n):
return sum(int(c) for c in str(n))
def life_path(y, m, d):
n = digit_sum(y) + digit_sum(m) + digit_sum(d)
while n > 9 and n not in MASTERS:
n = digit_sum(n)
return n
def shares(y0, y1, rule):
count, n = {k: 0 for k in LABELS}, 0
day, end = dt.date(y0, 1, 1), dt.date(y1, 12, 31)
while day <= end:
count[rule(day.year, day.month, day.day)] += 1
n += 1
day += dt.timedelta(days=1)
return {k: c / n for k, c in count.items()}
def plain(y, m, d):
return 1 + (y + m + d - 1) % 9
if __name__ == "__main__":
print(" share of people, per cent (births equally likely each day)")
for y0, y1 in ((1950, 2009), (1990, 1999), (1995, 1995)):
a, d = shares(y0, y1, life_path), shares(y0, y1, plain)
print(" births {}-{}".format(y0, y1))
print(" number " + "".join("{:>5}".format(k) for k in LABELS))
print(" rule A " + "".join("{:5.1f}".format(100 * a[k])
for k in LABELS))
print(" plain " + "".join("{:5.1f}".format(100 * d[k])
for k in LABELS[:9]))
core = [a[k] for k in range(1, 10)]
rare = min(range(1, 10), key=lambda k: a[k])
print(" rule A: rarest of 1-9 is {} at {:.2f} per cent;"
" largest/rarest = {}".format(
rare, 100 * a[rare],
"{:.1f}".format(max(core) / a[rare]) if a[rare] else
"infinite"))
print(" uniform share 1/9 = {:.1f} per cent".format(100 / 9))
print("\nReading: over sixty or ten birth years the plain residues are")
print("even to one decimal; within one year they spread from 10.7 to")
print("11.5. The master rule takes its 11s, 22s and 33s from 2, 4 and 6,")
print("so those become the rarest; for births in the 1990s no date at")
print("all gives a life path of 2.")
# share of people, per cent (births equally likely each day)
# births 1950-2009
# number 1 2 3 4 5 6 7 8 9 11 22 33
# rule A 11.1 1.5 11.1 9.1 11.1 5.2 11.1 11.1 11.1 9.6 2.0 5.9
# plain 11.1 11.1 11.1 11.1 11.1 11.1 11.1 11.1 11.1
# rule A: rarest of 1-9 is 2 at 1.49 per cent; largest/rarest = 7.5
# births 1990-1999
# number 1 2 3 4 5 6 7 8 9 11 22 33
# rule A 11.1 0.0 11.1 10.8 11.1 3.3 11.1 11.1 11.1 11.1 0.4 7.9
# plain 11.1 11.1 11.1 11.1 11.1 11.1 11.1 11.1 11.1
# rule A: rarest of 1-9 is 2 at 0.00 per cent; largest/rarest = infinite
# births 1995-1995
# number 1 2 3 4 5 6 7 8 9 11 22 33
# rule A 11.2 0.0 11.0 11.2 10.7 1.6 10.7 11.2 11.5 11.5 0.0 9.3
# plain 11.2 11.5 11.0 11.2 10.7 11.0 10.7 11.2 11.5
# rule A: rarest of 1-9 is 2 at 0.00 per cent; largest/rarest = infinite
# uniform share 1/9 = 11.1 per cent
#
# Reading: over sixty or ten birth years the plain residues are
# even to one decimal; within one year they spread from 10.7 to
# 11.5. The master rule takes its 11s, 22s and 33s from 2, 4 and 6,
# so those become the rarest; for births in the 1990s no date at
# all gives a life path of 2.The residues are almost even; the master numbers are not
The result has two parts. With the plain digital root, every residue holds 11.1 — one ninth — in the sixty-year and ten-year populations, identical to one decimal place; among the births of a single year the shares lie between 10.7 and 11.5. The unequal months leave no appreciable bias on the residues.
The master numbers are another matter. Under method A of Chapter 1, 11 takes people from residue 2, 22 from 4 and 33 from 6. Among those born from 1950 to 2009, the life path number 2 holds only 1.5 and 22 only 2.0, while 11 holds 9.6; among 1 to 9 the most common is 7.5 times as frequent as the rarest. In the 1990s no date at all gives a life path of 2: the digits 1, 9 and 9 of those years already add to 19, the month and day digits raise the sum to at least 21, and the sums that leave remainder 2 can only be 29, 38 or 47, all of which stop at 11.
Note
The same “number 2” in different decades. Under method A, “life path 2” still occurs among people born in the 1950s and not at all among people born in the 1990s. Any population statistic about “number 2 people” is first of all a statistic about the decade of birth and the method.
Personal years
The personal year number adds the birth month and day to the current year and reduces. The year enters only through its residue, so for one person the personal year rises by one each year in a nine-year cycle; for the whole population, the shares of people in each personal year in a given year are the shares of the residues of “month plus day”, relabelled.
Calculation
# Chapter 2. The personal year number of a whole population.
# Personal year for calendar year Y = reduce(birth month + birth day + Y),
# by digits. Births are taken as equally likely on each day of the year,
# with 29 February weighted 1/4. Because Y enters only through its
# residue, the population's shares in a given year are the shares of
# (month + day) mod 9, rotated: the same nine numbers every year, only
# relabelled.
from fractions import Fraction as F
MASTERS = (11, 22)
DAYS = (31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)
def digit_sum(n):
return sum(int(c) for c in str(n))
def red(n, masters=()):
while n > 9 and n not in masters:
n = digit_sum(n)
return n
def birthdays():
for m, nd in enumerate(DAYS, start=1):
for d in range(1, nd + 1):
yield m, d, (F(1, 4) if (m, d) == (2, 29) else F(1))
def year_shares(year, masters=()):
out, tot = {}, F(0)
for m, d, w in birthdays():
k = red(digit_sum(m) + digit_sum(d) + digit_sum(year), masters)
out[k] = out.get(k, 0) + w
tot += w
return {k: v / tot for k, v in sorted(out.items())}
if __name__ == "__main__":
keys = list(range(1, 10)) + [11, 22]
print(" share of people in each personal year, per cent")
print(" year rule " + "".join("{:>5}".format(k) for k in keys))
for year in (2026, 2027):
for label, ms in (("plain", ()), ("11/22", MASTERS)):
sh = year_shares(year, ms)
print(" {} {:5s}".format(year, label) + "".join(
"{:5.1f}".format(100 * float(sh.get(k, 0))) for k in keys))
p = year_shares(2026)
lo, hi = min(p.values()), max(p.values())
print(" plain shares: lowest {:.2f}, highest {:.2f}, ratio {:.3f}"
.format(100 * float(lo), 100 * float(hi), float(hi / lo)))
rot = all(year_shares(2026)[k] == year_shares(2027)[1 + k % 9]
for k in range(1, 10))
print(" 2027 shares are the 2026 shares moved up by one: {}"
.format(rot))
print("\nReading: without master numbers the nine personal years hold")
print("nearly equal shares of people, the same shares every year, only")
print("relabelled. With 11 and 22 kept, 22 takes most of the people")
print("who would be in year 4, while 11 takes only a few from year 2.")
# share of people in each personal year, per cent
# year rule 1 2 3 4 5 6 7 8 9 11 22
# 2026 plain 11.0 10.7 11.2 11.5 11.3 11.5 11.0 11.2 10.7 0.0 0.0
# 2026 11/22 11.0 9.9 11.2 2.7 11.3 11.5 11.0 11.2 10.7 0.8 8.8
# 2027 plain 10.7 11.0 10.7 11.2 11.5 11.3 11.5 11.0 11.2 0.0 0.0
# 2027 11/22 10.7 9.3 10.7 1.4 11.5 11.3 11.5 11.0 11.2 1.6 9.9
# plain shares: lowest 10.68, highest 11.50, ratio 1.077
# 2027 shares are the 2026 shares moved up by one: True
#
# Reading: without master numbers the nine personal years hold
# nearly equal shares of people, the same shares every year, only
# relabelled. With 11 and 22 kept, 22 takes most of the people
# who would be in year 4, while 11 takes only a few from year 2.Without master numbers the nine personal years hold between 10.68 and 11.50 per cent, a ratio of 1.077, and every year has the same nine shares, only relabelled: the program checks that the shares of 2027 are exactly those of 2026 moved up by one. With 11 and 22 kept, 22 takes most of the people who would be in personal year 4, while 11 takes only a few from year 2. So a statement such as “this is a personal year 4 for many people” depends on whether the program keeps master numbers, not on the year.
Summary
The unequal lengths of the months leave almost no bias on the residues: the plain life path number is even to one decimal place across several years of births, and within one year lies between 10.7 and 11.5. The bias comes from the master-number convention, which makes 2, 4 and 6 the rarest numbers and leaves no one born in the 1990s with a life path of 2. The population’s shares of personal years are the same every year, only relabelled.
References
Fan, Y. (2026). Modular Numerology, Character-Stroke Hashes and Residue-Class Distributions: Digital-Root Arithmetic, Kangxi Radical Restorations, Modulo-80 Grid Mappings and Empirical Base-Rate Concentration [姓名笔画、生命灵数与手机号码的同余映射和分布论] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090178 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).