Wikipedia Article of the Day
Randomly selected articles from my personal browsing history
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, drawing inspiration from Lewis Carroll's perpetual calendar algorithm. 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.
History
Dec 8
Jeffrey Dahmer
Dec 7
Headache
Dec 6
George Santos
Dec 5
tar (computing)
Dec 4
Luhn algorithm
Dec 3
Alt-J
Dec 2
São Tomé
Dec 1
Alt-J
Nov 30
TCP congestion control
Nov 29
Journal
Nov 28
Diary
Nov 27
Bookmarklet
Nov 26
Glasnost
Nov 25
Georgian affair
Nov 24
Skin effect
Nov 23
Perestroika
Nov 22
Pecten maximus
Nov 21
Worms World Party
Nov 20
Engineering
Nov 19
Reference mark
Nov 18
Headfooters
Nov 17
OSI model
Nov 16
List of most-visited websites
Nov 15
Stern–Gerlach experiment
Nov 14
Two-sided Laplace transform
Nov 13
PKCS 7
Nov 12
List of social platforms with at least 100 million active users
Nov 11
Classic Tetris World Championship
Nov 10
Image resolution
Nov 9
Monkey selfie copyright dispute