XuanPath
I Ching Numerological Demonstration

Mei Hua Yi Shu (Plum Blossom Numerology)

Attributed to Northern Song dynasty philosopher Shao Yong, Mei Hua Yi Shu uses pure arithmetic to map numbers to cosmological symbols and hexagram transformations. This page features a v1 interactive two-number teaching workbench alongside two fixed classical specimens with transparent intermediate arithmetic.

System 06 · Early Heaven Numerology Specimen
Educational Prototype Declaration

Symbolic Derivation Notice (Not Divination)

This page provides a symbolic educational demonstration of classical Chinese numerology. Predictive claims, fortune verdicts, and life commands are strictly prohibited. Time casting is disabled; user inputs stay strictly in page memory with zero API calls and zero storage writes.

Early Heaven Bagua Numbers & Symbol Matrix

Mei Hua Yi Shu operates on the Early Heaven (Xian Tian) trigram sequence. Any integer divided by 8 yields a remainder corresponding to one of the eight trigrams (a remainder of 0 is treated as 8, mapping to Kun / Earth):

NumberTrigramSymbolPhenomenonElementLines (Binary)
1乾 (The Creative (Heaven))☰HeavenMetal[1, 1, 1]
2兑 (The Joyous (Lake))☱LakeMetal[1, 1, 0]
3离 (The Clinging (Fire))☲FireFire[1, 0, 1]
4震 (The Arousing (Thunder))☳ThunderWood[1, 0, 0]
5巽 (The Gentle (Wind))☴WindWood[0, 1, 1]
6坎 (The Abysmal (Water))☵WaterWater[0, 1, 0]
7艮 (Keeping Still (Mountain))☶MountainEarth[0, 0, 1]
8坤 (The Receptive (Earth))☷EarthEarth[0, 0, 0]

[Cosmological Rule] Qian 1, Dui 2, Li 3, Zhen 4, Xun 5, Kan 6, Gen 7, Kun 8. Lines are read from bottom to top (Initial, Second, Third); 1 represents Yang (—) and 0 represents Yin (--).

Interactive Teaching Slice · Two-Number Derivation (v1)

Mei Hua Two-Number Pedagogical Derivation

Following XuanPath v1 confirmed teaching conventions: enter two ASCII decimal integers from 1 to 999999. Number A yields the upper trigram, Number B yields the lower trigram, and the raw sum A + B modulo 6 selects the single moving line to flip.

rulesVersion: meihua-two-number-teaching.v1 · requiresHumanReview: true · Symbolic derivation only (non-predictive)

XuanPath Teaching Convention & Classical Source

Modulo-8 Early Heaven trigram mapping (remainder 0 as 8) and modulo-6 moving line selection (remainder 0 as top line 6) cite Mei Hua Yi Shu, Fascicle 1 (Wikisource rev. 2690596: Early Heaven Numbers, Mod 8, Mod 6, Length Measurements, and Temple Plaque examples). Using two arbitrary hand-entered numbers, their raw sum A + B, no solar/hour offset, and remainder 0 as Line 6 are explicit XuanPath teaching conventions, separated from the calendar-plus-hour historical stories below.

First-Slice Scope & Zero-Leakage Boundary

This slice delivers upper/lower trigrams, moving line, primary hexagram, transformed hexagram, and step-by-step arithmetic only. Mutual, opposite, and inverted hexagrams as well as Ti-Yong remain pending separate confirmation. Inputs and results stay strictly in page memory—never written to URLs, storage, logs, or network requests.

ASCII positive integer 1–999999 only; no spaces, leading zeros, signs, decimals, or full-width digits.

ASCII positive integer 1–999999 only; mod 8 remainder 0 maps to Kun (8).

With JavaScript disabled, all teaching conventions, sources, and the fixed Plum Blossom and Peony stories below remain fully readable.

Classical Derivation Rules & Step-by-Step Intermediate Values

Examine the complete arithmetic walkthrough for two historical specimens. Each step exposes the dividend, divisor, quotient, and remainder for reader manual verification:

Specimen A · Plum Blossom Viewing (Hexagram 49.1 → Hexagram 31)

Educational Derivation

Classical natural phenomenon derivation: modular arithmetic mapping to trigrams and transformations

【Context & Narrative】 According to locatable classical text: philosopher Shao Yong observed two sparrows quarreling over a plum branch (Chen year, 12th month, 17th day, Shen hour), prompting him to calculate hexagrams from observation. The subsequent narrative about a woman falling while picking flowers the next evening belongs to traditional storytelling. This page uses solely the fixed mathematical derivation for cultural education, not as evidence of predictive efficacy.
【Pedagogical Convention】 [Pedagogical Convention Note] Traditional text sets Chen year (5) + Month 12 + Day 17 = 34 (upper trigram); Shen hour is 9, total sum = 34 + 9 = 43 (lower trigram and moving line). This prototype treats 34 and 43 as fixed numeric inputs with all step values exposed, strictly separating demonstration conventions from classical literature.
【Textual Source】 Traditional attribution to Song Dynasty Shao Yong: Mei Hua Yi Shu, Fascicle 1, 'Plum Blossom Divination'
Upper Base (N1):34
Lower Base (N2):43
Sum for Line (N_sum):43
1

Step 1 · Upper Trigram Calculation

34 ÷ 8 = 4 余 2Early Heaven number 2 maps to Dui (Lake, ☱, Metal)
Dividend
34
Divisor (Mod)
8
Quotient
4
Remainder
2

Dui lines: Bottom Yang, Middle Yang, Top Yin (binary [1, 1, 0])

2

Step 2 · Lower Trigram Calculation

43 ÷ 8 = 5 余 3Early Heaven number 3 maps to Li (Fire, ☲, Fire)
Dividend
43
Divisor (Mod)
8
Quotient
5
Remainder
3

Li lines: Bottom Yang, Middle Yin, Top Yang (binary [1, 0, 1])

3

Step 3 · Moving Line Derivation & Polarity Inversion

43 ÷ 6 = 7 余 1Remainder 1 designates Line 1 as moving (Initial Yang flips to Yin)
Dividend
43
Divisor (6 lines)
6
Quotient
7
Remainder
1

Inverting Line 1 of lower trigram Li (☲) transforms it into Gen (☶ Mountain)

Primary Base Hexagram

#49 Revolution (Molting) (泽火革)

Upper: 兑 (Lake) / Lower: 离 (Fire)
Assembled from upper 兑 and lower 离. Moving line at position 1.
Transformed Result

#31 Influence (Mutual Attraction) (泽山咸)

Upper: 兑 (Lake) / Lower: 艮 (Mountain)
Resulting hexagram after flipping polarity at line 1 (Line 1 (Initial Nine flips to Initial Six)).
Mutual Hexagram

#44 Coming to Meet (Coupling) (天风姤)

Upper: 乾 (Heaven) / Lower: 巽 (Wind)
Derived from primary hexagram lines 2,3,4 (Xun ☴) and lines 3,4,5 (Qian ☰) to yield Tian Feng Gou.

Philosophical Reflection

Transition from Revolution (Ge) to Mutual Influence (Xian): Encourages adaptive clarity during organizational or personal transformation, emphasizing honest communication rather than fatalistic surrender.

Specimen B · Peony Flower Specimen (Hexagram 44.5 → Hexagram 50)

Educational Derivation

Botanical vitality observation: line 5 inversion drives transformation, mutual hexagram reveals Creative force

【Context & Narrative】 According to locatable classical text: while admiring flourishing peonies at Sima Guang's estate with guests, philosopher Shao Yong was asked whether blossoming flowers follow numerical laws; he then calculated hexagrams at the moment of viewing flowers using time coordinates (Si year, 3rd month, 16th day, Mao hour). The subsequent account of horses trampling the peonies the next day belongs to traditional literary storytelling. This page uses solely the fixed mathematical derivation for educational demonstration, and does not treat narrative plot outcomes as evidence of predictive efficacy.
【Pedagogical Convention】 [Pedagogical Convention Note] Traditional text records Si year (6) + Month 3 + Day 16 = 25 (upper trigram); Mao hour is 4, sum = 25 + 4 = 29 (lower trigram and moving line). This prototype uses 25 and 29 as fixed educational inputs, displaying full division and line 5 inversion steps, strictly demarcating modern pedagogical conventions from classical narrative records.
【Textual Source】 Traditional attribution to Song Dynasty Shao Yong: Mei Hua Yi Shu, Fascicle 1, 'Peony Divination'
Upper Base (N1):25
Lower Base (N2):29
Sum for Line (N_sum):29
1

Step 1 · Upper Trigram Calculation

25 ÷ 8 = 3 余 1Early Heaven number 1 maps to Qian (Heaven, ☰, Metal)
Dividend
25
Divisor (Mod)
8
Quotient
3
Remainder
1

Qian lines: Pure Yang across all three lines (binary [1, 1, 1])

2

Step 2 · Lower Trigram Calculation

29 ÷ 8 = 3 余 5Early Heaven number 5 maps to Xun (Wind, ☴, Wood)
Dividend
29
Divisor (Mod)
8
Quotient
3
Remainder
5

Xun lines: Bottom Yin, Middle Yang, Top Yang (binary [0, 1, 1])

3

Step 3 · Moving Line Derivation & Polarity Inversion

29 ÷ 6 = 4 余 5Remainder 5 designates Line 5 as moving (Fifth Yang flips to Yin)
Dividend
29
Divisor (6 lines)
6
Quotient
4
Remainder
5

Inverting Line 5 of upper trigram Qian (☰) transforms it into Li (☲ Fire)

Primary Base Hexagram

#44 Coming to Meet (Coupling) (天风姤)

Upper: 乾 (Heaven) / Lower: 巽 (Wind)
Assembled from upper 乾 and lower 巽. Moving line at position 5.
Transformed Result

#50 The Cauldron (Vessel) (火风鼎)

Upper: 离 (Fire) / Lower: 巽 (Wind)
Resulting hexagram after flipping polarity at line 5 (Line 5 (Nine in 5th place flips to Six)).
Mutual Hexagram

#1 The Creative (Pure Heaven) (乾为天)

Upper: 乾 (Heaven) / Lower: 乾 (Heaven)
Derived from primary hexagram lines 2,3,4 (Qian ☰) and lines 3,4,5 (Qian ☰), yielding double Qian.

Philosophical Reflection

Transition from Encounter (Gou) to The Cauldron (Ding): Reflects mindfulness toward subtle beginnings, cultivating character to transform vulnerable encounters into enduring maturity.

Scholarly Sources, Conventions & Boundaries

XuanPath clearly separates modern educational conventions from historical manuscripts, isolating unverified claims into a dedicated philological review list:

Engineering Convention

Modern Educational Conventions

The two-number teaching section accepts two user-entered integers (1 to 999999) using raw sum A + B without hour offsets, while the historical stories below preserve their calendar-plus-hour numerical derivations, mutual hexagrams, and verifiable open texts. Zero personal birth data, zero storage writes, and zero network requests.

Textual Literature

Classical Literature & Primary Sources

All derivation rules and story summaries in this prototype are linked directly to openable primary texts. Specific historical imprints previously referenced (such as the Ming Wanli Pan Xilin woodblock or Siku Quanshu catalogue entries) have been removed from established base edition claims and moved entirely into the Philological Pending List below (D04-CH-01, D04-CH-02) pending definitive collation.

Primary Classical Text References (Verifiable Open Sources)

Primary Text

Mei Hua Yi Shu, Fascicle 1: Early Heaven Trigram Numbers

Baseline Early Heaven numbers 1 to 8 (Qian 1 to Kun 8)

Primary Text

Mei Hua Yi Shu, Fascicle 1: Modulo 8 Division

Upper/lower trigram modulo 8 arithmetic (remainder 0 as 8)

Primary Text

Mei Hua Yi Shu, Fascicle 1: Modulo 6 Division

Moving line modulo 6 arithmetic (remainder 0 as line 6)

Primary Text

Mei Hua Yi Shu, Fascicle 1: Mutual Hexagram Rule

Extracting lines 2-3-4 and 3-4-5 to assemble mutual hexagram

Primary Text

Mei Hua Yi Shu, Fascicle 1: Plum Blossom Viewing Case

Classical case text for Specimen A

Primary Text

Mei Hua Yi Shu, Fascicle 1: Peony Flower Viewing Case

Classical case text for Specimen B (calculated at moment of viewing)

Four Architectural Decisions (v1 Two-Number Confirmed, Extensions Pending)

XP-080-DEC01 · Confirmed (v1)

Casting Methodology Baseline

Confirmed for v1 teaching slice: accepts two ASCII integers 1–999999 (A upper, B lower, mod 8 with rem 0 as 8) in the Early Heaven sequence. Temporal and character-stroke casting remain Pending.

XP-080-DEC02 · Confirmed (v1)

Moving Line Arithmetic Specification

Confirmed for v1 teaching slice: raw sum A + B mod 6 (rem 0 as Line 6), counted bottom-to-top and flipping that single moving line.

XP-080-DEC03 · Pending

Elemental Interaction & Modern Framing

Reject fatalistic predictions; Ti-Yong elemental dynamics and evidence remain Pending independent review and are excluded from this two-number slice.

XP-080-DEC04 · Pending (Extensions)

Mutual & Inverted Hexagram Scope

v1 two-number slice delivers upper/lower trigrams, moving line, primary/transformed hexagrams, and manual arithmetic; mutual, opposite, and inverted hexagrams remain Pending (fixed specimens retain mutual hexagrams).

Four Philological Verification Tasks (Pending List)

D04-CH-01 · Pending

Ming Wanli Woodblock Collation

Examine high-resolution scans of the Ming Wanli Pan Xilin woodblock imprint to verify textual variants; retained in pending list rather than claimed as established base edition.

D04-CH-02 · Pending

Siku Quanshu Textual Attribution Review

Analyze the critical notes in the Siku Quanshu catalogue regarding the historical attribution of Mei Hua Yi Shu to Shao Yong; not claimed as established base edition.

D04-CH-03 · Pending

Earthly Branch Hour Counting Discrepancies

Trace historical discrepancies in early manuscripts regarding Zi hour indexing (1 vs 11/12) in temporal casting.

D04-CH-04 · Pending

Separation of Later Additions from Song Originals

Distinguish authentic Song philosophical tenets from superstitious folk aphorisms appended in commercial Qing editions.

Knowledge Directory