Here is a simple algorithm for your reference:
The year is limited to 1900 to 2099.
NO. 1 Set the required year as y year. If you subtract 1900 from y, the difference is n;
NO.2 divide n by 19, and record the remainder as a;
No.3 divides n by 4, regardless of the remainder, and records the quotient as q;
NO.4 Divide (7A+ 1) by 19, and record the quotient as b, regardless of the remainder;
No.5 is divided by 29 (1 1A+4-B), and the remainder is recorded as m;
6 is divided by 7 (N+Q+3 1-M), and the remainder is recorded as w;
Number 7 is 25 meters wide.
You can determine the date of Easter by getting the answer. If it is a positive number, the month is April; If it is negative, the month is March; If it is 0, it is March 3 1.
Let's choose two years to calculate.
For example, 1.65438+ Easter date 0983.
⒈ 1983- 1900=83,N=83
N/ 19 = 4+7,A=7。
[13] n/4 = greater than 20 3, Q=20.
7.7a+1= 50,50/19 = 2 and 12, B=2.
5. 1 1A+4-B = 79,79/29 = 2 1,M=2 1。
N+Q+3 1-M = 1 13, 1 13/7 = 16+ 1,W= 1。
25 meters wide =3 meters.
So the Easter date of 1983 is April 3rd.