It’s not just television that thrives on repeats; I thought it worth repeating a posting aboutÂ calendars from a year ago …Â
It is this time of year that has attracted a lot of attention devoted to finding the dates of religious festivals. A very comprehensive calendar calculator for 25 different calendar systems can be found at Calendrica (Java applet) and details of these systems are given in a fascinating book Calendrical Calculations.
Algorithms to calculate Easter dates have been given by mathematicians through the ages, including Gauss (see for example Mind Over Mathematics: How Gauss Determined The Date of His Birth) but it does produce a few errors. In 1961 the Scottish mathematician T.H. O’Beirne published an algorithm in his Puzzles and Paradoxes column in the New Scientist subsequently reprinted in his book of the same name published by the Oxford University Press (sadly out of print but I throughly recommend looking for a second-hand copy).
O’Beirne’s algorithm (based on an 1876 article in Nature) has the merit of always giving the correct date as well as being easy to use. It is a simple exercise to write a program to do the work for you. Simple Example
The following process gives the date of Easter Sunday as the th day of the th month in year . It also gives the Golden Number and the epact ( or whichever is between 1 and 30 inclusive). All you have to do is start with the year and perform 10 division operations noting the quotients and remainders.
(Table produced by LaTable)