Monday, May 4, 2009

Date of Easter – This is a Math Question?

The date of Easter is calculated as follows:





The algorithm uses the year, y, to give the month, m, and day, d, of Easter. The symbol * means multiply.





Please note the following: This is an integer calculation. All variables are integers and all remainders from division are dropped. For example, 7 divided by 3 is equal to 2 in integer arithmetic.





c = y / 100


n = y - 19 * ( y / 19 )


k = ( c - 17 ) / 25


i = c - c / 4 - ( c - k ) / 3 + 19 * n + 15


i = i - 30 * ( i / 30 )


i = i - ( i / 28 ) * ( 1 - ( i / 28 ) * ( 29 / ( i + 1 ) )


* ( ( 21 - n ) / 11 ) )


j = y + y / 4 + i + 2 - c + c / 4


j = j - 7 * ( j / 7 )


l = i - j


m = 3 + ( l + 40 ) / 44


d = l + 28 - 31 * ( m / 4 )





Here is a link.


http://aa.usno.navy.mil/faq/docs/easter....





How many years does it take before the cycle of Easter dates repeats?


Also, can you rank the dates on which Easter falls by frequency?


No comments:

Post a Comment