Why 4/4, 6/6, 8/8, 10/10 and 12/12 share a weekday
Here is a calendar fact that holds in every year: the dates 4 April, 6 June, 8 August, 10 October and 12 December all fall on the same day of the week.
Prove it. How many days are there between each consecutive pair, and why does that settle it?
(This is the backbone of the "Doomsday rule" for computing weekdays in your head.)
Show a hint
Count the days from 4 April to 6 June using the month lengths: the rest of April, all of May, and six days of June. Then look for a pattern with the other pairs.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
What day of the week was 1 January 2000?One hundred days after a MondayEvery year has a Friday the 13thWhy January 1 and December 31 share a weekdayHow many Friday the 13ths does 2026 have?
All questions →