A calendar year repeats itself if the total number of days elapsed between January 1 of the base year and January 1 of the target year is exactly divisible by 7. This ensures that the day of the week for each date aligns perfectly.
Understanding leap years is crucial. A year is a leap year if it is divisible by 4, except for end-of-century years, which must be divisible by 400. We examine the years around 1733:
The number of days in a common year is $365$, and in a leap year is $366$. We calculate the total days elapsed from January 1, 1733, to January 1 of the potential matching years. We check the total days modulo 7.
We track the cumulative days modulo 7:
| Target Year Start Date | Years Elapsed Since Jan 1, 1733 | Total Days Elapsed | Total Days (mod 7) |
| Jan 1, 1734 | 1733 (Common) | $365$ | $1$ |
| Jan 1, 1735 | 1733, 1734 (Common x2) | $365 + 365 = 730$ | $2$ |
| Jan 1, 1736 | 1733, 1734, 1735 (Common x3) | $730 + 365 = 1095$ | $3$ |
| Jan 1, 1737 | 1733-1735 (Common x3) + 1736 (Leap) | $1095 + 366 = 1461$ | $5$ |
| Jan 1, 1738 | 1733-1737 (1 Leap, 4 Common) | $1461 + 365 = 1826$ | $6$ |
| Jan 1, 1739 | 1733-1738 (1 Leap, 5 Common) | $1826 + 365 = 2191$ | $0$ |
The total number of days between January 1, 1733, and January 1, 1739, is $2191$. Since $2191$ is perfectly divisible by 7 ($2191 \pmod 7 = 0$), the calendar sequence for 1739 repeats the calendar sequence for 1733 exactly.