Suppose July of year has five Mondays. Which of the following must occur five times in the August of year ? (Note: Both months have days.)
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
In a 31-day month the weekdays of the 1st through 3rd occur five times; July 1 is Sat, Sun or Mon, so August 1 is Tue, Wed or Thu.
Solution
A -day month is four full weeks plus three extra days, so exactly three weekdays occur five times: the weekdays of the st, nd and rd of the month.
July has five Mondays, so Monday is one of those first three days. That gives three cases for July : Monday, Sunday, or Saturday.
August comes days after July , and , so August is three weekdays later than July :
- July 1 = Monday: August 1 = Thursday; five Thursdays, Fridays, Saturdays.
- July 1 = Sunday: August 1 = Wednesday; five Wednesdays, Thursdays, Fridays.
- July 1 = Saturday: August 1 = Tuesday; five Tuesdays, Wednesdays, Thursdays.
The only weekday on every list is Thursday.
The answer is .
Why this works
Calendar problems reduce to arithmetic mod : a month's length mod tells you how far the weekday of the st shifts, and the remainder tells you which weekdays get the extra occurrence. "Must occur" means every case has to agree, so list all cases and intersect. The middle case (July 1 = Sunday) is the one people forget.
The trap
Assuming July 1 must be a Monday, which makes Monday, Tuesday and Wednesday all appear five times in August and leads to a wrong pick.
Common mistakes
- Assuming July 1 must be a Monday, which makes Monday, Tuesday and Wednesday all appear five times in August and leads to a wrong pick.
- Shifting by days ( weekdays) or by days (no shift) instead of days, which moves every list by one day.
Techniques
Split into exhaustive cases and handle each