Way of calculating the day of the week of a given date
The Doomsday rule, Doomsday algorithm or Doomsday method is an algorithm of determination of the day of the week for a given date. It provides a perpetual calendar because the Gregorian calendar moves in cycles of 400 years. The algorithm for mental calculation was devised by John Conway in 1973,[1][2] drawing inspiration from Lewis Carroll's perpetual calendar algorithm.[3][4][5] It takes advantage of each year having a certain day of the week upon which certain easy-to-remember dates, called the doomsdays, fall; for example, the last day of February, 4/4, 6/6, 8/8, 10/10, and 12/12 all occur on the same day of the week in any year.
Applying the Doomsday algorithm involves three steps: determination of the anchor day for the century, calculation of the anchor day for the year from the one for the century, and selection of the closest date out of those that always fall on the doomsday, e.g., 4/4 and 6/6, and count of the number of days (modulo 7) between that date and the date in question to arrive at the day of the week. The technique applies to both the Gregorian calendar and the Julian calendar, although their doomsdays are usually different days of the week.
The algorithm is simple enough that it can be computed mentally. Conway could usually give the correct answer in under two seconds. To improve his speed, he practiced his calendrical calculations on his computer, which was programmed to quiz him with random dates every time he logged on.[6]
^John Horton Conway, "Tomorrow is the Day After Doomsday" (PDF). Eureka. October 1973. p. 28-32.
^Richard Guy, John Horton Conway, Elwyn Berlekamp : "Winning Ways: For Your Mathematical Plays, Volume. 2: Games in Particular", pages 795–797, Academic Press, London, 1982, ISBN 0-12-091102-7.
^Lewis Carroll, "To Find the Day of the Week for Any Given Date", Nature, March 31, 1887. doi:10.1038/035517a0
^Martin Gardner, The Universe in a Handkerchief: Lewis Carroll's Mathematical Recreations, Games, Puzzles, and Word Plays, pages 24–26, Springer-Verlag, 1996.
^"What Day is Doomsday". Mathematics Awareness Month. April 2014.
^Alpert, Mark (1999-04-01). "Not Just Fun and Games". Scientific American. Retrieved 2024-04-18.
The Doomsdayrule, Doomsday algorithm or Doomsday method is an algorithm of determination of the day of the week for a given date. It provides a perpetual...
Look up doomsday in Wiktionary, the free dictionary. Doomsday may refer to: Eschatology, a time period described in the eschatological writings in Abrahamic...
The Doomsday Clock is a symbol that represents the likelihood of a human-made global catastrophe, in the opinion of the members of the Bulletin of the...
The doomsday argument (DA), or Carter catastrophe, is a probabilistic argument that claims to predict the future population of the human species based...
new number is less than 0, it must be changed to 6. The "doomsday" concept in the doomsday algorithm is mathematically related to the Dominical letter...
1750 Calendar reform Conversion between Julian and Gregorian calendars Doomsdayrule French revolutionary calendar Hebrew calendar Dionysius Exiguus Inter...
yields 5, corresponding to Friday. In 1973, John Conway devised the Doomsdayrule for mental calculation of the weekday of any date in any year. The days...
digits of Pi. Lists of holidays Mole Day Sequential time Square Root Day Doomsdayrule Landau, Elizabeth (March 12, 2010). "On Pi Day, one number 'reeks of...
"Doomsday Blue" is a song by Irish singer-songwriter Bambie Ray Robinson, known by their stage name, Bambie Thug. Self-described as "an electro-metal breakdown"...
divided by 900). This is an artefact of recreational mathematics. See doomsdayrule for an explanation. Use this table for finding the day of the week without...
II was released for DOS on October 10, 1994 (one of the days of the Doomsdayrule and exactly ten months after the original) in North America and Europe...
2017), "chapter 3. Delegation", The Doomsday Machine, Bloomsbury, ISBN 978-1608196708 Daniel Ellsberg (2017). The Doomsday Machine: Confessions of a Nuclear...
apocalypse would be caused by zombies or alien invasion. Apocalypticism Doomsday cult Extinction risk from climate change List of topics characterized as...
September 1963 falls on Monday. Determination of the day of the week Doomsdayrule Long Now Foundation Year 10,000 problem U.S. patent 1,042,337, "Calendar...
marriage before conquest division method data domain don't-care term Doomsdayrule double-direction bubble sort double-ended priority queue double hashing...
Survivalism is a social movement of individuals or groups (called survivalists, doomsday preppers or preppers) who proactively prepare for emergencies, such as...
artist to represent Ireland in the Eurovision Song Contest with the song Doomsday Blue. Following their victory in Eurosong 2024, both the song and Robinson...
Campus Code. She then played Sorrell in Sonja O'Hara's Shudder series Doomsday. In 2018 and 2019, Kremelberg had a recurring role as Nicole Eckelcamp...