I do not know how relevant this is, but it appears to be useful, sometimes.

NB. from
http://dev.whydomath.org/Reading_Room_Material/ian_stewart/2000_03.html
EasterSunday =: 3 : 0   NB. y is year(s)
A=. 19 | y      
'B C'=. 100 (<....@%~ ,: |) y
'D E'=. 4 (<....@%~ ,: |) B
G=. <. 25 %~ 13 + 8 * B
H=. 30 | 15 + B + (19*A) - D + G
'J K'=. 4 (<....@%~ ,: |) C
M=. <. (A + 11 * H) % 319
L=. 7 | 32 + M + (2 * E + J) - H + K
N=. <. (90 + H + L - M) % 25
P=. 32 | 19 + H + L + N - M
|:y,N,:P
)

   EasterSunday 2000 + i.10
2000 4 23
2001 4 15
2002 3 31
2003 4 20
2004 4 11
2005 3 27
2006 4 16
2007 4  8
2008 3 23
2009 4 12
   EasterSunday 1000000         NB. from Ian Stewart
1000000 4 16


>From the link above " Under the rules of the Gregorian calendar, the cycle
of Easter dates repeats exactly after 5,700,000 years."


R.E. Boss




----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to