Fortune Telling Collection - Comprehensive fortune-telling - How to solve the calculation method of trunk and branch by the simplest algorithm in trunk and branch

How to solve the calculation method of trunk and branch by the simplest algorithm in trunk and branch

If we want to tell fortune by birth date, we must know heavenly stems and earthly branches. I believe most people have only heard of heavenly stems and earthly branches, but I don't know the specific content. This is a unique numerology culture in China, with far-reaching significance. So, what is the simplest stem-branch algorithm?

The simplest algorithm of heavenly stems and earthly branches.

1. heavenly stems and earthly branches method

The formula for calculating the year after A.D. is as follows: the number of A.D. years is reduced by three, and the remainder is the celestial stem divided by 10, the radix divided by 12, and the remainder is the year of earthly branch.

Take 20 10 as an example. If you subtract 3 from the year, you will get the cardinal number 2007, and divide it by 10 to get the remainder 7. Check the order of dry days.

Get the Gengyin year, and then divide the radix 2007 by 12 to get the remainder of 3, and cycle the order of yin, so 20 10 is the Gengyin year.

2. The monthly minute is fixed, for example, at the beginning of the first month, only the monthly minute is calculated.

Month = number of dry years multiplied by February. Example: March 20 10, Tiangan =7*23= 17. If the heavenly stems are a cycle of 10, remove 10 and get 7. On the seventh day, it was Geng, so this month's work was Chen Geng.

3, eight characters to see the Japanese branch

19003354 1999 daily branch base =*555 divided by 4200033542099=*5 15 divided by 4 * 5 15/4 = 47. This is the branch number of 65438+ 10/month in June. 65438+1 October1April 12 is 47 3128 3112 =149. If you remove the multiple of 60, you get 29; If the multiple of 10 is removed from the sky, the remaining 9 is nonyl; If the multiple of 12 is removed from the earth, the remaining 5 is Chen; Today, the main branch is a nonyl.

4, eight characters to see the dry branch

Dry time, dry = daily dry number *2, daily branch number -2.

5. Push back to the age method and introduce branches of any age from this year.

That is, age minus 60 is the cardinal number, the multiple of 10 is the final number of heavenly stems, and the multiple of 12 is the final number of earthly branches. For example, this year is the year of Geng Yin, and the 56-year-old branch is pushed like this: 56 to 50+6, the heavenly branch is pushed back from Geng Xu to 6+2, the earthly branch is 56, and 48+8 is removed, but the animal year is not. At the age of 65, five people in their sixties were removed and five C's were removed. Since this year, the ranking of the United States has been pushed back. Tiangan and 5c began to support this year. The year of birth is C's birthday.

Many people hold different opinions about fortune telling. Some people think that fate is predestined, while others think that fate is in their own hands. In fact, there are different opinions about the cognition of fate.