This week the #puzzle is: Can Every Day Be First? #calendars #patterns
| In 2026, every day of the week is the first day of the month at least once: |
| – Monday is June 1. – Tuesday is September 1 and December 1. – Wednesday is April 1 and July 1. – Thursday is January 1 and October 1. – Friday is May 1. – Saturday is August 1. – Sunday is February 1, March 1, and November 1. |
| Is 2026 special in this regard? If so, when is the next year when one of the days of the week is not represented among the firsts of the month? Otherwise, if 2026 is not special in this regard, then why not? |
And for extra credit:
| As we just noted, in 2026, all seven days of the week appear as the first of the month at least once. But you know, I decided that I don’t like that at all. Instead, I want as few days of the week as possible to appear as the first of the month in a given year. |
| To accomplish this, I have been granted the authority to change the number of days in each of that year’s 12 months, provided that there are still 365 or 366 days in the year and each month has at least 28 days and at most 31 days. |
| What are the fewest days of the week that can appear as the first of the month in such a calendar year? (And for fun, rather than for credit: How many such calendars can you design with this property?) |

Intermission
Last week I claimed, that 0 wasn’t the only possible solution to the extra credit. This week it sparked a little discussion in the comment section (link just above).
While Zach of course knows what he intended, I still think the actual wording allows more than 1 solution. But what do you think?
Possibly incorrect solution:
Let’s look at just 8 of months of the year. (This is actually 2027. Click to enlarge.)

Or in other words, March = Monday, April = Thursday, May = Saturday, June = Tuesday, August = Sunday, September = Wednesday, October = Friday. (July is also a Thursday.) We have them all. This part of the year doesn’t change structure, even if the length of February changes. The only thing that changes is that the very first day, the Monday in March, might be something else, maybe a Sunday (as in 2026), but then all the other days change in the same way, in this case every day moving a step back in the order of weekdays.
A year will always go through all 7 weekdays for the 1st day of a month, specifically this will happen in March-October. 2026 isn’t special.
And for extra credit:
I could probably do this in my head or on paper, but it’s easier to build a program. Output:
Nice calendars with very few different 1st days:
30,31,30,30,31,30,30,31,30,30,31,31
31,30,30,31,30,30,31,30,30,31,30,31
31,31,29,31,31,29,31,31,29,31,31,30
31,31,29,31,31,29,31,31,29,31,31,31
0 calendars with 1 different 1st days
0 calendars with 2 different 1st days
4 calendars with 3 different 1st days
112 calendars with 4 different 1st days
4143 calendars with 5 different 1st days
14718 calendars with 6 different 1st days
19919 calendars with 7 different 1st days
16738320 calendars with a wrong length
16777216 calendars in all
16777216 expected
A calendar can have 3 different 1st days, as the lowest number. There are 4 different calendars working like this. Here’s the beginning of each:
Is it possible to have a calendar with only 1 kind of 1st weekday? No, because months all of length 28 wouldn’t give a year of 365/366 days. (Though having 13 months would almost get us there.)
Is it possible to have a calendar with only 2 kinds of 1st weekday? This would be a pattern, where 2 months would cover 63 days, so, no.
Is it possible to have a calendar with only 3 kinds of 1 weekday? Yes. Create a pattern where 3 months cover 91 days, and repeat. The patterns with 30, 30 and 31 in some order works, but 31 can’t be last, because then December would need to have 32 days. The patterns with 31, 31 and 29 works, in 2 different ways.













