[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-698594-105":59,"doc-detail-698594-en":130,"doc-similar-698594":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","conway-and-his-doomsday-algorithm","Conway and his Doomsday algorithm","","John Conway’s shortcuts for computing the weekday of any given date are presented through an accessible narrative and structured explanation. The text recalls an educational experience in which Conway taught the Doomsday principle with memorable mnemonics and calibrated examples, emphasizing pedagogy and confidence-building. It then lays out the algorithm’s foundation: identifying each year’s “Doomsday” using representative dates, and deriving any date’s weekday by referencing the month-specific day alignment, including adjustments for leap years.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/conway-and-his-doomsday-algorithm/698594/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/conway-and-his-doomsday-algorithm/698594.png","ImageObject",300,407,{"name":92,"@type":93},"SALUTone","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is Conway’s Doomsday algorithm used for?","Question",{"text":112,"@type":113},"It is used to determine the day of the week for a given date by building on a yearly “Doomsday” reference and month-specific alignments.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the algorithm define a year’s “Doomsday”?",{"text":117,"@type":113},"It uses the fact that several specific dates in the year fall on the same weekday; that shared weekday is called the Doomsday for the year.",{"name":119,"@type":110,"acceptedAnswer":120},"How do leap years affect the Doomsday calculation?",{"text":121,"@type":113},"The last two starred dates indicate that in leap years the Doomsday is the day after those listed days, and the first two months follow a different pattern than the remaining ten months.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},698594,1794453543,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},5909897206756,"https://ap-avatar.wpscdn.com/avatar/5600152dbe4a7e99502?x-image-process=image/resize,m_fixed,w_180,h_180&k=1792654152478566863","Gimme a date! John Conway’s shortcuts to cracking the calendar  \nStephen D. Miller*  \nYeshiva University  \n[stephen. miller@yu. edu](stephen. miller@yu. edu)  \nSeptember 16, 2026  \n1 A magical visit  \nIt’s such a pleasure to recall a premier educational experience, a happenstance visit to John Conway’s office around 8pm one weekday evening in the spring of 1994 . Like any other first-year Ph.D. student at Princeton, I had already of course seen Conway’s gatekeeper to the Sun workstation in his office: upon login, his gad program 1 forced him to enter the day of the week often randomly chosen dates before accessing his computer. The program then informed him the time it took him to pass this drill, and he in turn recorded his record-setting times on a sign on top of his monitor, conspicuously displaying them to anyone who walked down the Princeton math department’s main corridor. A photo of him smiling in front of this prominent sign (“15.92 seconds”) even appeared on the front page of the New York Times Science section in 1993 [1] .2  \n* Supported by NSF grant CNS-2124692 . I wish to thank Adina Miller, Siobhan Roberts, and Dierk Schleicher for their helpful conversations.  \n1 This program was written for Conway by friends of his outside the university, and its name is an acronym for “gimme a date”.  \n2 Conway was proud of the fact that even the photographer was himself famous: the legendary Cambodian journalist Dith Pran, whose portrayal by Haing S. Ngor in The Killing Fields won an Oscar for Best Supporting Actor.  \nCuriosity possessed me and for some unknown reason (not having taken this opportunity myriad other times), I decided to ask him how he manages to compute days of the week so rapidly. There was nothing Conway liked more – not even making up or practicing his own magic – than conveying this magic to someone else, and (likely due to the fact he did not know me well) he displayed a calm confidence that he could teach me. Knowing myself, I was far less confident, but all I was hoping for was to glimpse the inner workings of a legend.  \nWhat followed had the hallmarks of a transcendental piece of education: it felt magical while it was happening, seeing all the gears that were revealed as he removed the cover to his masterpiece – yet immediately afterwards everything was so clear that in retrospect that I felt I must have known it all along.3 The material was taught in a way to be unforgettable. I don’t knowhow he did it, but he calibrated the exact right way to convey his ideas tome based on what my responses were. The best way I can describe this is to imagine yourself as a clumsy Luke Skywalker, quickly gaining the ability to “use the force” from Obi-wan Kenobi, or to mentally levitate objects from Yoda. It felt utterly preposterous to have been unexpectedly handed the keys to the magic – what a gift! He worked me through a sequence of examples, and by the time I left his office 15 minutes later I felt like a completely different person: not because of the math or the trick itself, but from realizing how much a spectacular educator can build up the confidence of his students.  \nConway’s generosity did not end with this time alone: he also let me ftp4 out the gad program so that I too could practice with it. We certainly had an interesting and eventful time playing his game together over the course of the next few weeks (as documented in [2,3]) . He was even more generous in explaining his tricks of the trade. I recognize that, for various reasons, I was fortunate to gain access to Conway’s “trade secrets”, and my goal in this piece is to share them with those who were not in a position to benefit from such an opportunity.  \n3 On a different occasion, Conway told me that he was exceptionally satisfied by thereaction he overheard from graduate students at the University of Michigan to a lecture he gave on a theoretical simplification he had discovered about Coxeter groups: “well, that was pretty trivial.” Conway relis","cbCaip4IQy45eQoy","https://ap.wps.com/l/cbCaip4IQy45eQoy","pdf",463258,"English","# A magical visit\n# Conway’s Doomsday algorithm\n## Level 1 – within a year","[{\"question\":\"What is Conway’s Doomsday algorithm used for?\",\"answer\":\"It is used to determine the day of the week for a given date by building on a yearly “Doomsday” reference and month-specific alignments.\"},{\"question\":\"How does the algorithm define a year’s “Doomsday”?\",\"answer\":\"It uses the fact that several specific dates in the year fall on the same weekday; that shared weekday is called the Doomsday for the year.\"},{\"question\":\"How do leap years affect the Doomsday calculation?\",\"answer\":\"The last two starred dates indicate that in leap years the Doomsday is the day after those listed days, and the first two months follow a different pattern than the remaining ten months.\"}]","Conway and his Doomsday algorithm | PDF",25,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/31c546e9973e56d90ec12abb1b0fe333.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/1c19372fee30572a160bd28bff4bc08b.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e75193d342fcae8fe044bb4bd286109d.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6da402ccf8d5a386b82a5176bf6fed81.webp",980,1268,{"list":162,"token":66},[163,169,176,183,190,197,204,211,218,224],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":14,"category_name":40,"create_tm":168},698595,"Using Simple Linear Models with Truncation to Determine the Gregorian Day of the Week","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010366600/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=qWvurjMd6TVLT3HPP0XbAic2%2FLE%3D","using-simple-linear-models-with-truncation-to-determine-the-gregorian-day-of-the-week",1794453544,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":40,"create_tm":175},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=udq5jNUvlnLLMuxaLE%2FQRFr1K7A%3D","xnx-gas-detector-calibration-2023",7957,1776136863,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":40,"create_tm":182},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=%2FNy2XfKdgvM7jzuGt8n82Dbn10w%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",7002,1776136851,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=q83cL6WI63W%2BbmOoPNNEFnyV95w%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5940,1788211707,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":40,"create_tm":196},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=%2FvPyWdsv8MKdClD8q7zQye6SqoE%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1294,1780779716,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":40,"create_tm":203},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=gCbQ2KJv6Ga%2F9h%2BQC7mr16GZmpE%3D","developmental-biology-twelfth-edition",1264,1787780705,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":40,"create_tm":210},121,"Letter of Intent Sample for School","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693418846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=PTTwaBeJIFkMmJNPBYG%2B9yrGNV4%3D","letter-of-intent-sample-for-school",1059,1776135210,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":40,"create_tm":217},129209,"Laboratory Manual for Principles of General Chemistry - J. A. Beran - 11th Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840760175/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=iblZkhVJpHEUs%2Bg0AqFS5gIDRDA%3D","laboratory-manual-for-principles-of-general-chemistry-j-a-beran-11th-edition",889,1786011673,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":216,"category_name":40,"create_tm":223},117724,"The Trading Edge - Vivek Bajaj","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834707110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=X7VI5eQ8N6KUz3l4N3Djk8yUf0E%3D","the-trading-edge-vivek-bajaj",1785678693,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":229,"category_name":40,"create_tm":230},47709,"Stress, Appraisal, and Coping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229799364477/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796208359&Signature=%2Bxhgp%2FEINW5lT7n8jHox8MwFHGY%3D","stress-appraisal-and-coping",849,1783565401]