pith. machine review for the scientific record. sign in

arxiv: 2605.03329 · v1 · submitted 2026-05-05 · 🧮 math.HO · math.NT

Recognition: unknown

Table-Based Encodings for Conway's Doomsday Algorithm: Vectorized Doomsdays and Doomyears

Thomas Wollin

Pith reviewed 2026-05-09 16:25 UTC · model grok-4.3

classification 🧮 math.HO math.NT
keywords Doomsday algorithmConwayday of week calculationtable lookupGregorian calendarvectorized doomsdaysDoomyearscalendar arithmetic
0
0 comments X

The pith

Two new table encodings replace the arithmetic steps in Conway's Doomsday algorithm with structured lookups.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper introduces vectorized doomsdays and Doomyears as replacements for the year-offset and month-day arithmetic in the standard Doomsday rule. Vectorized doomsdays represent each month by a two-digit gap code and apply a square knot rule to turn the offset into a single addition. Doomyears turns the year calculation into a lookup that follows the 28-year cycle of the Gregorian calendar. Together with the existing century anchors these create the Calamity Tables, a fully lookup-based system whose correctness is proved from the calendar's periodicity and gap properties.

Core claim

The vectorized doomsdays encoding assigns each month a two-digit number whose digits are the backward and forward gaps to the nearest multiples of seven, so that the square knot rule pairs the target date with the opposite-direction digit and reduces the month-day offset to one-digit addition. Doomyears encodes the year-offset function as a navigational table that exploits the 28-year periodicity, allowing the full weekday to be read from the three tables without live modular arithmetic or negative intermediates.

What carries the argument

The Calamity Tables, formed by Conway's century anchors plus vectorized doomsdays (two-digit gap codes with square knot rule) and Doomyears (28-year navigational lookup).

If this is right

  • Month-day offset computation reduces to adding one digit instead of subtraction and modular adjustment.
  • Year offset becomes a table lookup rather than computing y plus floor(y/4) mod 7.
  • The full system admits self-verification properties built from the same tables.
  • Cognitive complexity drops because all steps are retrieval rather than calculation.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The same gap-encoding idea could be tested on other periodic calendar systems such as the Julian or Hebrew calendars.
  • Memorization load might be compared experimentally with the original arithmetic method by measuring recall accuracy after fixed study time.
  • Digital implementations could use the same tables for constant-time weekday lookup without division instructions.

Load-bearing premise

The square knot rule and Doomyears lookup produce the correct modular offsets for every date in the Gregorian calendar.

What would settle it

A single concrete date for which the Calamity Tables produce a weekday different from the known historical day or from direct arithmetic computation of the standard Doomsday rule.

read the original abstract

Conway's Doomsday Algorithm (1973) determines the day of the week for any date in the Gregorian calendar via three additive components: a century anchor, a year offset, and a month-day offset. The century anchor is a fixed four-entry table. The other two components require live arithmetic: the year offset demands computing $y + \lfloor y/4 \rfloor \pmod{7}$, and the month-day offset requires a subtraction that can produce negative intermediate values. We present two new encoding schemes that replace both arithmetic steps with structured table lookups. The first, vectorized doomsdays, re-encodes each month's doomsday date as a two-digit number whose tens and units digits represent the backward and forward gaps (respectively) from the nearest multiples-of-seven month anchors. A directional crossing rule (the "square knot rule") pairs the target date's gap with the opposite-direction digit, reducing the month-day offset to a single-digit addition. The second, Doomyears, encodes the year-offset function as a navigational lookup exploiting the 28-year periodicity of the Gregorian weekday cycle. Together with Conway's century anchor table, these form a unified system we call the Calamity Tables. We prove correctness, establish self-verification properties, analyse the internal structure of both encodings, and compare the cognitive complexity of the Calamity Table system against the standard arithmetic method.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

1 major / 2 minor

Summary. The manuscript presents two new encoding schemes for Conway's Doomsday Algorithm to replace arithmetic computations with table lookups. The vectorized doomsdays encoding re-encodes month doomsdays as two-digit gap numbers and uses the square knot rule for offsets. The Doomyears encoding uses navigational lookup for the year offset based on 28-year periodicity. Combined with the century anchor, they form the Calamity Tables. The paper claims to prove correctness, establish self-verification, analyze structure, and compare cognitive complexity.

Significance. If the results hold, this provides a unified table-based system for the Doomsday Algorithm, which could be useful for mental calculation and has self-verification properties. It builds on known calendar cycles without free parameters, offering a structured alternative. This could be of interest in recreational mathematics for simplifying the algorithm.

major comments (1)
  1. The section asserting the proof of correctness for the square knot rule and Doomyears navigational lookup: the claim that these compute identical modular offsets to the arithmetic steps for every Gregorian date is load-bearing. The proof must explicitly verify edge cases including 29 February leap years, century-boundary years, and months whose doomsday is not near a multiple of 7, as any mismatch would falsify the replacement claim.
minor comments (2)
  1. The abstract refers to explicit tables for the encodings; if not included, they should be added with full gap definitions per month to support verification.
  2. Clarify the notation for the two-digit encodings, directional crossing, and 28-year navigation mechanics for improved readability.

Simulated Author's Rebuttal

1 responses · 0 unresolved

We thank the referee for their thorough review and for identifying the need for explicit edge-case verification in our correctness proof. We address the major comment below and will revise the manuscript to incorporate additional explicit checks as suggested.

read point-by-point responses
  1. Referee: The section asserting the proof of correctness for the square knot rule and Doomyears navigational lookup: the claim that these compute identical modular offsets to the arithmetic steps for every Gregorian date is load-bearing. The proof must explicitly verify edge cases including 29 February leap years, century-boundary years, and months whose doomsday is not near a multiple of 7, as any mismatch would falsify the replacement claim.

    Authors: We agree that the load-bearing claim requires explicit verification of the listed edge cases to fully substantiate equivalence for every Gregorian date. Our existing proof derives the equivalence from the 28-year periodicity of the weekday cycle and the modular properties of the gap encodings, which are constructed to hold independently of specific dates. Nevertheless, to strengthen the presentation and directly address the concern, the revised manuscript will include a dedicated subsection providing explicit verification for: (i) 29 February in leap years (e.g., 2024-02-29 and 2000-02-29), (ii) century-boundary transitions (e.g., 1899-12-31 to 1900-01-01 and 1999-12-31 to 2000-01-01), and (iii) months whose doomsdays lie farther from multiples of 7 (e.g., January with doomsday 3/4 and September with doomsday 5). These checks confirm identical modular offsets with no mismatches. This addition clarifies the proof without changing its core structure or results. revision: yes

Circularity Check

0 steps flagged

No circularity: encodings constructed from known Gregorian properties with claimed independent proof

full rationale

The paper defines vectorized doomsdays via gap encodings from Conway's known doomsday dates and Doomyears via the established 28-year cycle, then claims to prove equivalence to the original arithmetic steps. This is a standard constructive replacement verified against external calendar facts rather than a self-referential loop or fitted parameter renamed as prediction. No load-bearing self-citation, ansatz smuggling, or uniqueness theorem imported from the authors appears in the provided text; the derivation remains self-contained against the benchmark of Conway's original algorithm.

Axiom & Free-Parameter Ledger

0 free parameters · 2 axioms · 4 invented entities

The central claim depends on the correctness of two newly defined encodings and one new rule whose validity is asserted via an unshown proof; no free parameters are introduced, but the encodings themselves are invented structures.

axioms (2)
  • domain assumption The Gregorian calendar weekday cycle repeats every 28 years.
    Invoked to justify the Doomyears navigational lookup.
  • standard math Day-of-week offsets are computed correctly under modular arithmetic modulo 7.
    Background property used for all gap and anchor calculations.
invented entities (4)
  • Vectorized doomsdays encoding no independent evidence
    purpose: Represent each month's doomsday as a two-digit gap code for table lookup.
    New structure introduced to replace arithmetic month offset.
  • Square knot rule no independent evidence
    purpose: Pair directional gaps to reduce month offset to single-digit addition.
    New crossing rule defined for the vectorized encoding.
  • Doomyears encoding no independent evidence
    purpose: Encode year offset as a 28-year-cycle navigational table lookup.
    New encoding scheme for the year component.
  • Calamity Tables no independent evidence
    purpose: Unified system combining vectorized doomsdays, Doomyears, and century anchor.
    Name and integrated framework introduced by the paper.

pith-pipeline@v0.9.0 · 5549 in / 1554 out tokens · 51689 ms · 2026-05-09T16:25:32.706242+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

5 extracted references · 1 canonical work pages

  1. [1]

    E. R. Berlekamp, J. H. Conway, and R. K. Guy, Winning Ways for Your Mathematical Plays, vol. 2, Academic Press, 1982

  2. [2]

    To find the day of the week for any given date,

    L. Carroll, “To find the day of the week for any given date,” Nature, vol. 35, no. 892, 1887, p. 517

  3. [3]

    Tomorrow is the day after doomsday,

    J. H. Conway, “Tomorrow is the day after doomsday,” Eureka, vol. 36, 1973, pp. 28–31

  4. [4]

    Methods for accelerating Conway’s Doomsday algorithm,

    C. Fong and M. K. Walters, “Methods for accelerating Conway’s Doomsday algorithm,” ICERM Technical Report, 2010

  5. [5]

    Calculating the day of the week: null-days algorithm,

    X.-S. Wang, “Calculating the day of the week: null-days algorithm,” arXiv preprint arXiv:1404.2510, 2014. 8