Current location - Training Enrollment Network - Mathematics courses - How to calculate the five elements
How to calculate the five elements
The ancient people's discussion on Yin Na's five lines in Sixty Jiazi.

The article "Yin Na's Five Lines" in the sixth volume of Introduction to Geography points out: "Yin Na got its name from the sound of metal knocking. One is fire, the other is earth, the third is wood, the fourth is gold, and the fifth is water. The meridian of Jiaxu belongs to nine, the ugliness of Yigeng belongs to eight, Bingshen belongs to seven, and Ding Renmao belongs to six, five and four. This method is to add up the number of branches and see what the number is, and then divide it by five, and the remainder obtained by division is fire, earth and so on. So Jiazi belongs to the wood of 29 18 years, and Yechou belongs to the fire of 28 16 years. The total number of Yin Na is thirty-four. If you divide by five, the remainder is four and four is gold, so Yin Na belongs to gold. "

It can be inferred: "In a pair of adjacent branches of Yin and Yang, divide the sum of the two branches of Yin and Yang and the number of Taixuan collocation of the two branches of Yin and Yang by five, and you can get the five lines of Yin Na corresponding to this branch."

According to the five-element collocation of "Yin Na Five Elements" in the sixth volume of Introduction to Geography:

Five elements: fire, earth, wood and golden water.

Matching number 1 2 3 4 5

Heavenly stems and earthly branches's mysterious matching number;

Heavenly stems and earthly branches of ordinal number, mysterious collocation number of ordinal number.

Jia Yi Liu Ji Zi Yi Wu Qi JIU

B, 2 Geng, 7 ugly, 2 bu 88.

C, 3 Xin, 8 Yin, 3 Shen, 97

Ding Siren has Liu Shi at ninety-four cents.

Five, five, ten, ten, five, five, eleven, five.

Si Liu Shihai Si Er

The "Yin Na Five Elements" given in the sixth volume of Introduction to Geography can be expressed by mathematical formula as follows:

Let z be a pair of matching numbers of the five elements receiving Yin adjacent to Yang and Yin branches, which is too mysterious for Yang branch, too mysterious for Yin branch with ordinal number+1, too mysterious for Yang branch and too mysterious for Yin branch, then:

(3)

With table 60 Jia:

Year, year, year, year, year, year, year, year, year, year.

In Jiazihai, in Jinbingzi River, Wuzi thunderstorm fire, native mulberry, Zhemu on the wall of Gengzi.

Ugly, ugly, ugly, ugly, ugly, ugly

Fire in Bingyin Furnace Wuyin City Wall Soil Gengyin Pine and cypress Wood Renyin Gold Foil Jinjiayin Daxi River

Ding Maoji Mao Xin Mao Gui Mao Yi Mao

Chen Wu Dalinmu Chen Geng Fraxinus Jin Renchen Chang Liu Shui Chen Jia Foguang Chen Bingsha Middle Earth

Sorry, sorry, sorry.

Wu Geng roadside soil, willow trees in Renwu, gold in sand in Wu Jia, water in Bingwu, water in Wuwu and fire in the sky.

Wei Xin Gui Wei B Ding Wei Wei Ji Wei.

Renshen Jianfeng Jinjiashen Spring Shen Bing Mountain Fire Wu Shen Dayi Tugengshen Pomegranate Tree

Gui You Yi You Ding Ji You You Xin You.

At the top of Jiaxu Mountain, Xu Wuxu Ping made firewood and water.

A sea is a sea, a sea is a sea, a sea is a sea, a sea is a sea.

It is easy to check whether Formula (3) is correct.

For example, Bing Yin and Ding Mao's Five Lines of Yin Na:

According to Taixuan's collocation table:

The number of Taixuan collocation of Tiangan C is, and that of Tiangan Ding is;

The number of too mysterious collocation of the voice of the earth is, and the number of too mysterious collocation of the cat of the earth is;

Therefore, as can be seen from formula (3), the matching numbers of five elements of Yin Na and Ding Mao are as follows.

According to Yin Na's five-line matching table, this shows that Bing Yin and Ding Mao's Yin Na's five lines belong to fire. Yin Mao is the opposite wood of Yin and Yang, Bing Ding is the opposite fire of Yin and Yang, and Bing Yin and Ding Mao are the same. Yin and yang are smelting, and heaven and earth are furnaces. Therefore, when Yin Mao met Bing Ding, it constituted a fire in the furnace.

Because Formula (3) is an accurate calculation method of the five elements of the phonetic symbols of Sixty Jia Zi, it can be seen that the' Sixty Jia Zi Table' is not mysterious to the academic circles in China.

(3) Formula is an algorithmic language with six syllables and five elements. From the perspective of modern mathematical logic, the algorithmic language of Formula (3) can be further simplified.

According to multivalued logic algebra, we can also change formula (3) into the following expression:

For a trunk branch of Yang, let the serial number of the heavenly stem be, the serial number of the earthly branch be, and the collocation number of the five syllables of the trunk branch be, then

Formula (4) is a formula for calculating the five elements of any yang branch in the 60-A sub-table.

For example, Bingyin is the main branch of Yang, the heavenly stem ordinal number of C, and the earthly branch ordinal number of Yin; Therefore, it can be seen from formula (4) that the matching number of five elements of Yin Na is

According to Yin Na's five-line matching table, this shows that Bing Yin's Yin Na's five lines belong to fire.

For a branch in the shade, let the serial number of the heavenly stems be, the serial number of the earthly branches be, and the matching number of the five elements of the branches in the shade be, then

Formula (5) is a formula for calculating the five elements of any yin branch in the 60-A sub-table.

For example, Ding Mao is the yin branch, the heavenly stem ordinal number of Ding, and the earthly branch ordinal number of Mao; Therefore, it can be seen from formula (5) that the matching number between Ding Mao's Yin Na and the five elements is

Therefore, according to Yin Na's five elements table, Ding Mao's Yin Na's five elements belong to fire.

It is easy to verify the correctness of formula (5) with the sub-table of 1960s.

Formula (4) and formula (5) can also be combined into:

If the serial number of a trunk is, the serial number of a ground branch is, and the matching number of five elements of the trunk is, then

(6)

Take the sign of the yang stem substitution operator (sum is odd) and the sign of the yin stem substitution operator (sum is even).

As for the mathematical process of deriving Formula (4) and Formula (5) from Formula (3), I won't go into details here.