Traditional Culture Encyclopedia - The 24 Solar Terms - How to calculate twelve heavenly stems and earthly branches?

How to calculate twelve heavenly stems and earthly branches?

Question 1: How does heavenly stems and earthly branches calculate the abbreviation "Gan" in heavenly stems and earthly branches? There are ten branches of trees: A, B, C, D, E (W), G, Xin, Ren (rén) and Gui (Gu ǐ). Twelve earthly branches: Zi, Ugly, Yin, Mao (mǐ o), Chen (chén), Si (sǐ), Wu, Wei (wèi), Shen, You (yǒu), Xu (xū) and Hai. Heavenly stems and earthly branches is combined into the following sixty timing serial numbers as the names of calendar year, month, day and hour, which is called "chronology of cadres and branches". The order of the sixties is 1 ~ 10. Jia Zi B Chou Bing Yin Ding Mao Wuchen Wu Guiyou 1 1~20 Jia Yi Hai Bing Zi Ding Chou Mao Xin Si Ren Wu Guiwei 2 1~30 Shen Jia Yi You C. 8+0~40 Wu Jia Yi Wei Bing Shen Ding You Wuxu Jihai Geng Zi Xin Chou Ren Yin Gui Mao 4/kloc-. Chronology of cadres and branches The New Year began in beginning of spring in 2009, and February 4th began in Lichun, so February 4th, 2009 was the ugly year after beginning of spring, before which it should be the Year of Wuzi. People who are not familiar with this point are prone to make mistakes, so pay special attention. The first algorithm: how to convert the AD calendar year into the trunk calendar year: Different data algorithms are different, and some give formulas, but they are essentially the same thing. Here is a simple and intuitive algorithm. First, give each aerial stem and aerial branch a number, and sort them from 4, with aerial stem 10 followed by 1. Ground branch 12 is followed by 1. Tiangan: A 4, B 5, C 6, D 7, E 8, Ji 9, Geng 10, Xin 1, Ren 2, Gui 3: Zi 4, Ugly 5, Yin 6, Mao 7, Chen 8, Si 9, Wu 10, Wei 60. For example, in 2003, its mantissa was 3, and the corresponding heavenly stem was "decyl"; Divide 2003 by 12 to get 166, the remainder is 1 1, and the corresponding branch is not. So 2003 is the year of "Ghost Guard". Please note that this refers to the year after beginning of spring in 2003, and before beginning of spring, it should be a "noon" year. Mr. Wang pointed out in "Sacrifice to the Dead" that Qingming is the fourth solar term (beginning of spring, rain, fright, vernal equinox, Qingming) after beginning of spring, so Mr. Zhao said that one year is dead, not in the afternoon. The second algorithm: 1. Sky-dried algorithm: the number of years minus 3 and then divided by 10 (excluding quotient) is the number of digits corresponding to the sky-dried; 2. Earthbranch algorithm: the number of years minus 3 divided by 12 (excluding quotient) is the number of digits corresponding to earthbranch; Tiangan: A, B, C, D, E, Ji, G, Xin, Ren, Gui: Zi, Ugly, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu, Hai. We take 2065438+. Heavenly stems algorithm: 20 10-3=2007, 2007/10 = more than 200, 7, 7 corresponds to the seventh place of heavenly stems is Geng, that is, heavenly stems are Geng; Ground branch algorithm: 20 10-3=2007, 2007/ 12= 167, the third place of the ground branch is yin, that is, the ground branch is yin; To sum up, 20 10 is the year of Geng Yin in heavenly stems and earthly branches. In order to convince you of this algorithm, I will give another example to illustrate it: Example 2. We take 1987 as an example; Heavenly dry algorithm: 1987-3= 1984,1984//kloc-0 =198; 4 corresponds to the fourth place of Tiangan, that is, Tiangan is D; Ground branch algorithm: 1987-3= 1984,1984/12 =165, where the fourth digit of the ground branch is the radix, that is, the ground branch is the radix; To sum up, 1987, the year of heavenly stems and earthly branches was taken as the year of Ding Mao. The third algorithm: First, the number of heavenly stems and earthly branches is as follows: Tiangan ... >>

Question 2: How does heavenly stems and earthly branches calculate time? Heavenly stems and earthly branches, the main branch for short, originated from the observation of astronomical phenomena in ancient times. A, B, C, D, E, Ji, Geng, Xin, Ren and Gui are called ten heavenly stems, while Zi, Ugly, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu and Hai are called twelve earthly branches. Heavenly stems and earthly branches constitutes the ancient calendar. Ten branches and twelve branches are matched in turn to form sixty basic units, and they cooperate with each other in a fixed order to form branches and branches.

According to the time and life characteristics of ancient animals in China, twelve kinds of animals are regarded as the zodiac, that is, each animal lasts for one hour. Rats rank first (matched with "Zi"), followed by rats, cows, tigers, rabbits, dragons, snakes, horses, sheep, monkeys, chickens, dogs and pigs.

Rat: From 1 1 in the evening to 1 the next day (that is, "midnight"). At this time, mice have the greatest courage and the most frequent activities, so they have been paired with mice since childhood.

Bull: 65438+ 0-3 am (that is, "ugly time"). At this time, the cow has eaten enough grass, and the "backward chewing" is the thinnest, slowest and most comfortable, so it is matched with the cow when it is ugly.

Tiger: 3-5 am (that is, "Yin Shi"). According to ancient books, at this time, the tiger was the most active, fierce and hurtful, so Yin Shi and the tiger became a pair.

Rabbit: 5-7 am (that is, "Shi Mao"). At this time, the sun has not yet appeared, and the glory of the moon has not completely retired. Jade rabbit is the representative of the moon and the only animal in the myth of the Moon Palace, so it is paired with rabbits in Shi Mao.

Dragon: 7-9 am (that is, "Chen Shi"). Legend has it that this is when the dragon rains. Dragons are mythical animals, so Chen Shi belongs to dragons.

Snake: 9- 1 1 in the morning (that is, "Shi Si"). It is said that snakes at this time will not hurt people, nor will they wander on the road where people walk, but will hide in the grass, so this time belongs to snakes.

M: From 1 1 in the morning to 1 in the evening (that is, "noon"). The Taoist priest said that at noon, the sun was on the horizon, the yang was at its peak, and the yin was gradually flourishing. When yin and yang change columns, most animals lie down and rest. Only horses stand habitually and don't lie down even when they sleep. So it belongs to the horse at noon

Sheep: 65438+ 0-3 pm (that is, "untimely"). It is said that sheep urinate most frequently at this time, and the spilled urine can cure a kind of madness, so it belongs to sheep since childhood.

Monkey: 3-5 pm (that is, "God Ten"). At this time, monkeys like to crow the most, and the sound is the longest and loudest. So Shen Shi is a monkey.

Chicken: 5-7 pm (that is, "You's"). At this time, when the sun sets on the mountain, the chicken begins to enter the cage for the night, so it belongs to the chicken.

Dog: 7-9 pm (that is, "time"). When night comes, dogs watch the house and keep vigil, which produces a special kind of vision and hearing. They can see farthest and hear clearly. So when you are a dog.

Pig: 9- 1 1 pm (that is, "Shihai"). At this time, pigs sleep best, snore loudest, shake muscles the most and gain meat the fastest, so Shihai is a pig.

Question 3: How to calculate the year, month, day and hour with heavenly stems and earthly branches? Chronology of ancient China. That is, Party A, Party B, Party C, Party D, Party E, Party B, Party G, Party A, Party B and Party B are ten, while Party A, Party B, Party C, Party B, Party C, Party D, Party B, Party B and Party B are twelve, and the branches are coordinated in sequence. Such as Jia Zi and Yi Chou, will return to Jia Zi after 60 years. It goes on and on. In China, the lunar calendar still uses the calendar year of cadres and branches.

The chronology of the dry branch sprouted in the Western Han Dynasty, began with Wang Mang, and prevailed in the late Eastern Han Dynasty. In the second year of Emperor Yuanhe of the Han and Yuan Dynasties (AD 85), the court ordered the nationwide implementation of the chronicle of cadres. Some people think that China used dry branches to record the years before Emperor Wu of the Han Dynasty. However, this is the Gregorian calendar year of the Prince, which is based on the Gregorian calendar year of the Prince, and the branch represents twelve days (the ecliptic is divided into twelve equal parts). Jupiter 1 1.862 revolves around the sky once a week, so it takes about 86 years for Tai Sui to pass through an old age, which is the so-called "Chen Chao". In the Calendar of Zhuan Xu, the first year of Tai Chu (BC 104) of Emperor Wu of the Western Han Dynasty was the prince of Bingzi, and taichu calendar changed it to Ding Chou by surpassing Chen. At the end of the Han Dynasty, Liu Xin changed the first year of Taishu to Bingzi, and the second year of Taishi (the first 95 years) from Yiyou to Bingxu. Scholars who returned to the eastern Han dynasty did not use the super-Chen method. So from the second year, the chronology of the prince and the chronology of the main branch are the same. However, according to legend, the chronology expressed by heavenly stems and earthly branches began in the period of the Yellow Emperor, and 60 pieces of Jiazi table were found in Shang Dynasty archaeology in Yin Ruins.

1. The meaning of trunk and branch: trunk and branch are the general names of heavenly stems and earthly branches.

Dry refers to heaven, * * * with 10 symbol:

1 2 3 4 5 6 7 8 9 10

Methyl ethyl propyl butyl hexyl heptyl octyl non decyl

Refers to the earth, * * * with 12 symbol:

1 2 3 4 5 6 7 8 9 10 1 1 12

The child is ugly, and the mother hasn't applied this afternoon.

2. The combination of stem and branch is used for dating. That is to say, the ten-day stem and the twelve-day branch are combined to form the stem and branch for dating. According to this arrangement method, 60 branches can be formed after six rounds of arrangement 10 symbols and five rounds of arrangement 12 symbols for ground branches on the same day. If it continues to be discharged, it will return to its original state again and again, which is what the folks call "sixty years of turning to Jiazi".

[Edit this paragraph] Sixty years Jia Zi (branch table)

1 2 3 4 5 6 7 8 9 10

Jia Chubing Yin Dingmao Wu Renshen Gui You

1 1 12 13 14 15 16 17 18 19 20

Jia Haibing Zi Ding Chou Mao Xin Si Ren Wu Guiwei

2 1 22 23 24 25 26 27 28 29 30

Shen Jia Yi Youbing Xu Ding Wu Haizi ugly Geng Yin Xin Mao Renchen ghost silk

3 1 32 33 34 35 36 37 38 39 40

Wu Jia translated Shen Dingyou, the Reform Movement of 1898, and Ji Haigeng rewarded Ren Yin Guimao.

4 1 42 43 44 45 46 47 48 49 50

Chen Jia, Bess, Bing Wuding, Wu Shen, Ji You, Geng Xu, Xin Hai, Ren Zi, Gui Chou.

5 1 52 53 54 55 56 57 58 59 60

Jiayin, Yi Mao, Chen Bing, Ding Si, Wu Wu and Xin You have not signed up yet, so they are temporarily not responsible.

[Edit this paragraph] Understand the "Twelve Branches" in combination with the actual situation

1. Match twelve animals with twelve earthly branches to form the Year of the Zodiac. (See the picture below) If the year of the main branch contains the word "zi", it is the year of the rat, and all the people born in this year are "rats"; The Year of the Ox is a year of ugliness, and all the people born in this year belong to the ox. And so on. (as shown in the following table)

Zodiac year

1 2 3 4 5 6 7 8 9 10 1 1 12

Rat, ugly cow, black snake, black horsetail, Yang Shen Houyou chicken, Gou Haizhu

2. Twelve branches represent twelve o'clock.

There are twenty-four hours in a day, but in our tradition, it is represented by twelve hours, that is, one hour is two hours. (as shown in the following table)

24-hour and 12-hour comparison table

Ugly son, ugly son, ugly son, ugly son.

23-0 1:0 1-03:03-05 :05-07:07-09:09- 1 1

At noon, I didn't apply.

1 1- 13: 13- 15: 15- 17: 17- 19: 19-2 1:2 1-23

......& gt& gt

Question 4: How does heavenly stems and earthly branches calculate the date of birth? Chronology of ancient China. That is, Party A, Party B, Party C, Party D, Party E, Party B, Party G, Party A, Party B and Party B are ten, while Party A, Party B, Party C, Party B, Party C, Party D, Party B, Party B and Party B are twelve, and the branches are coordinated in sequence. Such as Jia Zi and Yi Chou, will return to Jia Zi after 60 years. It goes on and on. In China, the lunar calendar still uses the calendar year of cadres and branches.

The chronology of the dry branch sprouted in the Western Han Dynasty, began with Wang Mang, and prevailed in the late Eastern Han Dynasty. In the second year of Emperor Yuanhe of the Han and Yuan Dynasties (AD 85), the court ordered the nationwide implementation of the chronicle of cadres. Some people think that China used dry branches to record the years before Emperor Wu of the Han Dynasty. However, this is the Gregorian calendar year of the Prince, which is based on the Gregorian calendar year of the Prince, and the branch represents twelve days (the ecliptic is divided into twelve equal parts). Jupiter 1 1.862 revolves around the sky once a week, so it takes about 86 years for Tai Sui to pass through an old age, which is the so-called "Chen Chao". In the Calendar of Zhuan Xu, the first year of Tai Chu (BC 104) of Emperor Wu of the Western Han Dynasty was the prince of Bingzi, and taichu calendar changed it to Ding Chou by surpassing Chen. At the end of the Han Dynasty, Liu Xin changed the first year of Taishu to Bingzi, and the second year of Taishi (the first 95 years) from Yiyou to Bingxu. Scholars who returned to the eastern Han dynasty did not use the super-Chen method. So from the second year, the chronology of the prince and the chronology of the main branch are the same. However, according to legend, the chronology expressed by heavenly stems and earthly branches began in the period of the Yellow Emperor, and 60 pieces of Jiazi table were found in Shang Dynasty archaeology in Yin Ruins.

1. The meaning of trunk and branch: trunk and branch are the general names of heavenly stems and earthly branches.

Dry refers to heaven, * * * has 10 symbol:

1 2 3 4 5 6 7 8 9 10

Methyl ethyl propyl butyl hexyl heptyl octyl non decyl

Refers to the earth, * * * with 12 symbol:

1 2 3 4 5 6 7 8 9 10 1 1 12

The child is ugly, and the mother hasn't applied this afternoon.

2. The combination of stem and branch is used for dating. That is to say, the ten-day stem and the twelve-day branch are combined to form the stem and branch for dating. According to this arrangement method, 60 branches can be formed after six rounds of arrangement 10 symbols and five rounds of arrangement 12 symbols for ground branches on the same day. If it continues to be discharged, it will return to its original state again and again, which is what the folks call "sixty years of turning to Jiazi".

[Edit this paragraph] Sixty years Jia Zi (branch table)

1 2 3 4 5 6 7 8 9 10

Jia Chubing Yin Dingmao Wu Renshen Gui You

1 1 12 13 14 15 16 17 18 19 20

Jia Haibing Zi Ding Chou Mao Xin Si Ren Wu Guiwei

2 1 22 23 24 25 26 27 28 29 30

Shen Jia Yi Youbing Xu Ding Wu Haizi ugly Geng Yin Xin Mao Renchen ghost silk

3 1 32 33 34 35 36 37 38 39 40

Wu Jia translated Shen Dingyou, the Reform Movement of 1898, and Ji Haigeng rewarded Ren Yin Guimao.

4 1 42 43 44 45 46 47 48 49 50

Chen Jia, Bess, Bing Wuding, Wu Shen, Ji You, Geng Xu, Xin Hai, Ren Zi, Gui Chou.

5 1 52 53 54 55 56 57 58 59 60

Jiayin, Yi Mao, Chen Bing, Ding Si, Wu Wu and Xin You have not signed up yet, so they are temporarily not responsible.

[Edit this paragraph] Understand the "Twelve Branches" in combination with the actual situation

1. Match twelve animals with twelve earthly branches to form the Year of the Zodiac. (See the picture below) If the year of the main branch contains the word "zi", it is the year of the rat, and all the people born in this year are "rats"; The Year of the Ox is a year of ugliness, and all the people born in this year belong to the ox. And so on. (as shown in the following table)

Zodiac year

1 2 3 4 5 6 7 8 9 10 1 1 12

Rat, ugly cow, black snake, black horsetail, Yang Shen Houyou chicken, Gou Haizhu

2. Twelve branches represent twelve o'clock.

There are twenty-four hours in a day, but in our tradition, it is represented by twelve hours, that is, one hour is two hours. (as shown in the following table)

24-hour and 12-hour comparison table

Ugly son, ugly son, ugly son, ugly son.

23-0 1:0 1-03:03-05 :05-07:07-09:09- 1 1

I didn't apply at noon ... >>

Question 5: heavenly stems and earthly branches's fast calculation method must first remember that ten days are dry and twelve places are branched. Ten days of work are: A, B, C, D, E, G, G, Xin, Ren and Gui; Twelve earthly branches: Zi, Ugly, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu and Hai;

Heavenly stems and earthly branches's method of chronology is that the heavenly stem is in front and the earthly branch is behind. For example, in 2005, this year is the year of-yiyou. Let's count the days first. There is a formula:

4, 5, 6, 7, 8, 9, Volt 0, 1, 2, 3 correspond to ten-day dryness.

Party A, Party B, Party C, Party D, Party E, Party B, Party G, Party A, Party B, Party B, Party C, Party B, Party B, Party B, Party B,

The number is the last digit of the year, for example, this year is 2005, the last digit is 5, and the corresponding heavenly stems are B;

Earthbranch algorithm: divide the number of years by 12, and the remainder after that represents a earthbranch, and the remainders are: 4, 5, 6, 7, 8, 9, 10, 1 0 (divisible) and/kloc-0 respectively. Take 2005 as an example: the year-end is 5, and the corresponding heavenly stems are B. When 2005 is divided by 12, the remainder is 1, and the corresponding earthly branches are unitary, then 2005 is B year.