All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Sunday the 1st (Posted on 2005-04-18) Difficulty: 2 of 5
In a calendar year, how many months, maximum, can start on a Sunday? What will be the next (very unlucky?) year when this maximum occurs?

Must every calendar year have at least one month that starts on a Sunday?

  Submitted by Richard    
Rating: 3.5000 (2 votes)
Solution: (Hide)
3 months, maximum, can start on a Sunday. (The months will always be February, March and November for a non-leap year, and January, April and July for a leap year.) The next year when 3 months will all start on Sunday is the non-leap year 2009. There is always at least one month that starts on a Sunday.

Mod 7, the starting day of the next month advances by M%7 where M is the number of days of the current month and M%7 is its remainder when divided by 7. If the 1st of January falls on day d, then the first of February always falls on day d+3, and the first of March falls on day d+3 in non-leap years but on day d+4 in leap years, etc. For non-leap years, if January falls on day d, then for the 12 months in order starting with January, the 1st of the month will fall on day d+k (mod 7), where the sequence of k's is 0 3 3 6 1 4 6 2 5 0 3 5. For leap years, the similar sequence is 0 3 4 0 2 5 0 3 6 1 4 6. We see that the high runner for k is 3 in non-leap years, and 0 in leap years, each occurring 3 times. To find the next year where three months start on a Sunday is not very difficult -- a simple way is to just look at calendars produced by some standard program such as the Unix program cal.

Notice that the two sequences of k's each contain every number from 0 through 6 at least once. This means that given any day of the week, at least one month will start on that day.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Some ThoughtsCotsworth PlanDej Mar2013-06-13 05:08:14
solutionJason2005-04-19 09:24:32
re(2): Papal questionSteve Herman2005-04-18 20:57:24
SolutionsolutionCharlie2005-04-18 13:40:00
re: Papal questionCharlie2005-04-18 13:35:30
QuestionPapal questionSteve Herman2005-04-18 12:30:24
SolutionSolutionAlec2005-04-18 11:25:36
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (16)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information