{"id":115,"date":"2006-04-14T15:06:17","date_gmt":"2006-04-14T15:06:17","guid":{"rendered":"http:\/\/www.sixthform.info\/maths\/?p=115"},"modified":"2007-10-31T14:38:14","modified_gmt":"2007-10-31T14:38:14","slug":"calendars","status":"publish","type":"post","link":"https:\/\/www.sixthform.info\/maths\/?p=115","title":{"rendered":"Calendars"},"content":{"rendered":"<p>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 <a href=\"http:\/\/emr.cs.iit.edu\/home\/reingold\/calendar-book\/Calendrica.html\" target=\"_blank\">Calendrica<\/a> (<i>Java applet<\/i>) and details of these systems are given in a fascinating book <a href=\"http:\/\/emr.cs.iit.edu\/home\/reingold\/calendar-book\/second-edition\/\" target=\"_blank\">Calendrical Calculations<\/a>.<\/p>\n<p>Algorithms to calculate Easter dates have been given by mathematicians through the ages, including <a href=\"http:\/\/www-history.mcs.st-and.ac.uk\/~history\/Biographies\/Gauss.html\" target=\"_blank\">Gauss<\/a> (see for example <a href=\"http:\/\/members.tripod.com\/~american_almanac\/gauss.htm\" target=\"_blank\">Mind Over Mathematics: How Gauss Determined The Date of His Birth<\/a>) but it does produce a few errors. In 1961 the Scottish mathematician T.H. O&#8217;Beirne published an algorithm in his Puzzles and Paradoxes column in the <a href=\"http:\/\/www.newscientist.com\/home.ns\" target=\"_blank\">New Scientist<\/a> 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).<\/p>\n<p>O&#8217;Beirne&#8217;s algorithm (based on an 1876 article in <a href=\"http:\/\/www.nature.com\/index.html\" target=\"_blank\">Nature<\/a>) 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. <a href=\"javascript:void(0)\" title=\"Simple example to check calculations\" onclick=\"newWindow=window.open('files\/easter.htm','easter','toolbar=no,location=no,scrollbars=yes,resizable=yes,status=no,width=500,height=600,left=200,top=0');\">Simple Example<\/a><\/p>\n<p><u>O&#8217;Beirne&#8217;s algorithm<\/u><br \/>\nThe following process gives the date of Easter Sunday as the <img src='\/maths\/latexrender\/pictures\/83878c91171338902e0fe0fb97a8c47a.gif' title='p' alt='p' align=absmiddle><sup>th<\/sup> day of the <img src='\/maths\/latexrender\/pictures\/7b8b965ad4bca0e41ab51de7b31363a1.gif' title='n' alt='n' align=absmiddle><sup>th<\/sup> month in year <img src='\/maths\/latexrender\/pictures\/9dd4e461268c8034f5c8564e155c67a6.gif' title='x' alt='x' align=absmiddle>. It also gives the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Golden_numbers\" target=\"_blank\">Golden Number<\/a> <img src='\/maths\/latexrender\/pictures\/cbd8a5eeeab08358cfb06c74f7b471b5.gif' title='a+1' alt='a+1' align=absmiddle> and the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Epact\" target=\"_blank\">epact<\/a> (<img src='\/maths\/latexrender\/pictures\/d2f440ac9da08a456d28f9c78052000f.gif' title='23-h' alt='23-h' align=absmiddle> or <img src='\/maths\/latexrender\/pictures\/12812c20b94033e3c323b3896ef64c99.gif' title='53-h' alt='53-h' align=absmiddle> whichever is between 1 and 30 inclusive). All you have to do is start with the year <img src='\/maths\/latexrender\/pictures\/9dd4e461268c8034f5c8564e155c67a6.gif' title='x' alt='x' align=absmiddle> and perform 10 division operations noting the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Division_%28mathematics%29\" target=\"_blank\">quotients and remainders<\/a>.<\/p>\n<p><img src='\/maths\/latexrender\/pictures\/31d0d809206556569f510163fb2d5020.gif' title='\\begin{tabular}{|c|l|r|c|c|}&#10;\\cline{1-5}&#10;\\multicolumn{1}{|l|}{Step} &amp; Divide &amp; By &amp; Quotient &amp; Remainder \\\\ &#10;\\cline{1-5}&#10;1 &amp; $x$ &amp; 100 &amp; $b$ &amp; $c$ \\\\ \\cline{1-5}&#10;2 &amp; $5b+c$ &amp; 19 &amp; - &amp; $a$ \\\\ \\cline{1-5}&#10;3 &amp; $3(b+25)$ &amp; 4 &amp; $\\delta$ &amp; $\\epsilon$ \\\\ \\cline{1-5}&#10;4 &amp; $8(b+11)$ &amp; 25 &amp; $\\gamma$ &amp; - \\\\ \\cline{1-5}&#10;5 &amp; $19a+\\delta-\\gamma$ &amp; 30 &amp; - &amp; $h$ \\\\ \\cline{1-5}&#10;6 &amp; $a+11h$ &amp; 319 &amp; $\\mu$ &amp; - \\\\ \\cline{1-5}&#10;7 &amp; $60(5-\\epsilon)+c$ &amp; 4 &amp; $j$ &amp; $k$ \\\\ \\cline{1-5}&#10;8 &amp; $2j-k-h+\\mu$ &amp; 7 &amp; - &amp; $\\lambda$ \\\\ \\cline{1-5}&#10;9 &amp; $h-\\mu+\\lambda+110$ &amp; 30 &amp; $n$ &amp; $q$ \\\\ \\cline{1-5}&#10;10 &amp; $q+5-n$ &amp; 32 &amp; 0 &amp; $p$ \\\\ \\cline{1-5}&#10;\\end{tabular}' alt='\\begin{tabular}{|c|l|r|c|c|}&#10;\\cline{1-5}&#10;\\multicolumn{1}{|l|}{Step} &amp; Divide &amp; By &amp; Quotient &amp; Remainder \\\\ &#10;\\cline{1-5}&#10;1 &amp; $x$ &amp; 100 &amp; $b$ &amp; $c$ \\\\ \\cline{1-5}&#10;2 &amp; $5b+c$ &amp; 19 &amp; - &amp; $a$ \\\\ \\cline{1-5}&#10;3 &amp; $3(b+25)$ &amp; 4 &amp; $\\delta$ &amp; $\\epsilon$ \\\\ \\cline{1-5}&#10;4 &amp; $8(b+11)$ &amp; 25 &amp; $\\gamma$ &amp; - \\\\ \\cline{1-5}&#10;5 &amp; $19a+\\delta-\\gamma$ &amp; 30 &amp; - &amp; $h$ \\\\ \\cline{1-5}&#10;6 &amp; $a+11h$ &amp; 319 &amp; $\\mu$ &amp; - \\\\ \\cline{1-5}&#10;7 &amp; $60(5-\\epsilon)+c$ &amp; 4 &amp; $j$ &amp; $k$ \\\\ \\cline{1-5}&#10;8 &amp; $2j-k-h+\\mu$ &amp; 7 &amp; - &amp; $\\lambda$ \\\\ \\cline{1-5}&#10;9 &amp; $h-\\mu+\\lambda+110$ &amp; 30 &amp; $n$ &amp; $q$ \\\\ \\cline{1-5}&#10;10 &amp; $q+5-n$ &amp; 32 &amp; 0 &amp; $p$ \\\\ \\cline{1-5}&#10;\\end{tabular}' align=absmiddle><br \/>\n<small>(Table produced by <a href=\"http:\/\/www.g32.org\/latable\/\" target=\"_blank\">LaTable<\/a>)<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-articles"],"_links":{"self":[{"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=115"}],"version-history":[{"count":0,"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sixthform.info\/maths\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}