Fortune Telling Collection - Comprehensive fortune-telling - Fortune teller's formula _ What is the formula for fortune telling?

Fortune teller's formula _ What is the formula for fortune telling?

Fortune teller's formula

First, the method of quickly calculating the trunk and branches of the annual column

The value of heavenly stems and earthly branches is shown in the following figure:

Here is a convenient method to calculate the dryness of the sky, which is simpler than many online algorithms. The specific method for calculating the annual dryness is as follows:

Any year after A.D.: Last digit of A.D. -3= annual work; If it is negative, add 10.

Any year BC: year-end digits +8= year-end.

Because AD 3 is the year of Guihai, the heavenly stems are the cycle of 10. In AD 4, the heavenly stems were a, 4-3= 1.

Because there is no year 0, the heavenly stems in BC are the last digit-3+1,and then+10 becomes a positive number.

The calculation of the earthly branch is as follows:

Any year after A.D.: (A.D. year -3)÷ 12, and the remainder 0- 1 1 is the annual branch. If it is negative, add 12, and 0 is regarded as 12.

Any year in BC: (AD -2) ÷ 12, the remainder-1 1-0 is the annual branch, add 12 to make it a positive number, and 0 is regarded as 12.

It should be noted that beginning of spring is the dividing line between tree trunks and branches in a year, not the Spring Festival. For example, whether February 4th 1964 of the lunar calendar is1February 2nd1day or the first year of the lunar calendar; However, although February 5th of the lunar calendar, 1964 Gregorian calendar is1February 22nd, this day is already in beginning of spring, which is an appropriate year for Chen Jianian.

For example, it is necessary to calculate the annual column branches of 7 BC and BC 1 year, and the calculation is as follows:

Annual dry =-7+8= 1, that is, a; Annual branch =(-7-2)÷ 12=-9, plus 12 becomes a positive number of 3, which is yin, so 7 BC is the year of Jiayin.

Annual dry =- 1+8=7, that is, Geng; Year branch =(- 1-2)÷ 12=-3, plus 12 becomes a positive number of 9, which is Shen, so BC 1 is the year.

If you want to find the year after AD, such as the year column of 1987, then:

Annual work = last digit 7-3=4, that is, D; Annual branch = (1987-3) ÷12 =165, that is, gross, so1987 is the year of Ding Mao.

It is worth noting that the branches and branches of the lunar calendar corresponding to a solar calendar year correspond to most of the time of the year, rather than completely overlapping.

Second, the method of quickly calculating the stem and branch of the moon column

1. Calculation of the dryness of the moon column sky: annual dryness x2+ months = monthly dryness; If it exceeds 10, subtract 0-9 from the multiple of 10, and 0 is regarded as 10.

Since the first month of Jiazi Year is the third month, that is, A 1 corresponds to C 3, it is calculated that the first month of Erchou Year is Wuyin, that is, B 2 corresponds to E 5, and then C 3 corresponds to G 7, which is exactly the annual dry time of the first month of each year.

4. Calculation of the earthly branch of the moon column: the lunar branch is fixed, and the first month is cloudy (from the day of beginning of spring to the day before the fright), the second month is Mao (from the day before the fright to the day before Qingming), the third month is Chen (from the day before Qingming to the day before the long summer), and the fourth month is May afternoon (from the day before long summer).

Note: The dividing line between the monthly branch and the branch is not the first day of each month in the lunar calendar, but a festival. The festival before handover is the festival of last month, and the festival after handover is the festival of next month. Therefore, the branches and branches corresponding to a lunar year correspond to most of the time of this month, rather than completely overlapping.

If you want the trunk of the Moon Pillar on February 3, 2008, the lunar calendar is1February 27, and you haven't arrived in beginning of spring yet, the annual trunk should be regarded as the trunk of Dinghai in 2007. Annual dry year 4x2+ month 12=20, then decrease 10= 10, that is, decyl; This day has not yet arrived in beginning of spring, and the branches on the ground are ugly; So the moon column was ugly on February 3, 2008 (20081February 27).

Similarly, February 4th, 2008, Lunar New Year1February 28th, happened to be beginning of spring. The annual branch should be Wuzi in 2008, and the number of months should be 1, not 12. The annual salary is 5x2+ months 1= 1 1, and then minus 10= 1, that is, a; The ground branch is yin; Therefore, on February 4, 2008 (December 28 of the lunar calendar), the main branch of the moon column was Jiayin.

Thirdly, the method of quickly calculating the trunk and branches of the sun column.

New Year's Day in 2000 is Wuwu Day. If you want to get daily income, you can refer to this day. That is to say, the total number of days between Wish Day and New Year's Day in 2000 is calculated, assuming that the total number of days is A. ..

Then the calculation method of daily expenditure for the day after 2000 is as follows: (A-5)÷ 10, and the remainder 0-9 is daily expenditure; (A-7)÷ 12, take the remainder 0- 1 1 as the daily branch; (A-5)÷ 12, take the remainder 0- 1 1 as the daily branch.

The calculation method of daily branch before 2000 is as follows: (A+5)÷ 10, and then subtract the remainder 0-9 from 10 to get daily branch; (A+5)÷ 12, and then subtract the remainder 0- 1 1 from 12 to get the daily branch.

Fourthly, fast calculation time-column stem-branch method.

Hourly dry calculation: daily dry ×2? +hours? -? 2? =? Working hours (if the working hours exceed 10, 10 shall be subtracted, and only single digits shall be taken);

The time branches are Zi (23:00-0 1:00), Chou (0 1:00-03:00), Yin (03:00-05:00) and Mao (05:00-07:00). At noon (11:00-13: 00), Wei (13:00- 15:00), Shen (15: 00-/.

Fifthly, the algorithm of calculating lunar calendar date by solar calendar.

The date of the lunar calendar is based on the full moon, and each new moon is the first day. The full moon is 15 (the 16th month) and the dark month is 29 (the 30th month). However, at present, the date of the solar calendar is usually used to express the time. If you want to convert the date of the solar calendar into the date of the lunar calendar, you can use the following two methods: one is to search the newly edited perpetual calendar, for example, what is the date of the lunar calendar on June 8, 1984? Open the perpetual calendar, 10 June is the eleventh lunar month, so it is inferred that June 8 is the ninth day of the ninth lunar month.

Secondly, we can use the formula to calculate the lunar calendar date: suppose: AD year-190 1 = 4q+r, then: lunar calendar date = 1 4q+10.6 (r+1)+date ordinal number in the year- 4) Example:1The lunar calendar date on May 7, 1994 is:1901= 93 = 4× 23+1,so: Q = 4, R = 1, and the lunar calendar date on May 7 is:.

When n < 12, the value of n is the nth month of the previous year; When n > 12, the value of (n- 12) is the month of the current year. In the above example, n is 15, n- 12=3, and the month is March.