Introduction
The odd days method is a compact way to convert long spans of time into weekday shifts. An odd day is the remainder when the total number of days is divided by 7 - that remainder tells you how many weekdays the date shifts. This pattern is central to calendar reasoning because it reduces months and years into small modular arithmetic steps.
Pattern: Odd Days Concept
Pattern
Compute odd days = (total days) mod 7. Convert years → days (ordinary = 365, leap = 366), months → days, then sum and take remainder by 7 to find weekday shifts.
Quick reference:
- 1 ordinary year = 365 days = 1 odd day (365 ≡ 1 mod 7)
- 1 leap year = 366 days = 2 odd days (366 ≡ 2 mod 7)
- 1 normal month: use actual days (e.g., Jan 31 ≡ 3 odd days, Feb 28 ≡ 0, Feb 29 ≡ 1)
- Century blocks: 100 years = 5 odd days (in Gregorian counting), but verify with century exceptions.
Step-by-Step Example
Question
How many odd days are there in 100 years?
Solution
Step 1: Break 100 years into leap and ordinary years
In a 100-year span within Gregorian rules (e.g., 1 Jan 1901-31 Dec 2000), leap years occur every 4 years except centuries not divisible by 400. Typically 100-year block has 24 leap years and 76 ordinary years.Step 2: Convert to odd days
Ordinary years: 76 × 1 = 76 odd days.
Leap years: 24 × 2 = 48 odd days.Step 3: Sum and reduce modulo 7
Total odd days = 76 + 48 = 124.
124 ÷ 7 → remainder = 5 → 5 odd days.Final Answer:
5 odd daysQuick Check:
100 years ≡ 5 (mod 7) is the standard result used in many calendar problems ✅
Quick Variations
1. Odd days in 1 year: ordinary = 1, leap = 2.
2. Odd days in n years: count leaps and ordinaries, then sum (leaps×2 + ordinaries×1) mod 7.
3. Odd days in months: use month lengths modulo 7 (e.g., Jan 31 ≡ 3, Feb28 ≡ 0, Mar31 ≡ 3, Apr30 ≡ 2, etc.).
4. For spans crossing century boundaries, explicitly compute leap counts (don't rely solely on simple 100-year heuristics).
Trick to Always Use
- Step 1 → Convert big spans into units: years → (count leaps vs ordinary), months → day totals, days → direct.
- Step 2 → Replace each unit with its odd-day equivalent (ordinary year = 1, leap year = 2, month-day mod7 values).
- Step 3 → Sum everything and reduce modulo 7; the remainder is the weekday shift.
Summary
Summary
The odd days method makes calendar problems manageable by converting large date spans into a small remainder (0-6). Always:
- Decide the exact span and whether endpoints are inclusive/exclusive.
- Count leap years carefully (century rules: divisible by 400 → leap; divisible by 100 but not 400 → not leap).
- Use modular arithmetic: sum odd days and take remainder modulo 7.
- Quick checks: 1 year = 1 odd day, 4 years = 5 odd days, 100 years = 5 odd days, 400 years = 0 odd days (full Gregorian cycle).
