Social Question

LostInParadise's avatar

Is it just a coincidence that the day of the week can be computed as if the Gregorian calendar started on a Sunday in the year 0?

Asked by LostInParadise (32178points) May 8th, 2013

It does not seem likely that anybody gave any thought to this when the calendar was devised in 1582. If you go down about ⅔ of the way in this Wikipedia article to the section called Weeks, you will see that in 1582, Thursday October 4 was followed by Friday October 15. The date was changed but not the day of the week.

Suppose that we assume that January 1 in the non-existent year 0 was a Sunday and we want to use that to calculate the day of the week for today, May 8, 2013. The rule for determining leap year days is messy but not intractable. We add one every four years, subtract one every 100 years and put one back every 400 years. The other thing we need to use is that relative to the start of the year today’s date is 31 + 28 + 31 + 30 + 8 = 128, using the number of days in the months of January, February, March and April.

Putting this all together, we can find the day of the week by calculating (2013*365 + 2013/4 – 2013/100 + 2013/400 + 128) mod 7, using integer arithmetic. The answer is 3. With Sunday counting as 0, that correctly gives today’s day of the week as Wednesday. For those doing this at home, you can simplify the calculation by eliminating the 365, since 365 mod 7 = 1.

There is a 1 in 7 chance of this occurring, so it could just be a coincidence. Alternatively, we can conclude that if there is a God, he must surely be a mathematician.

Observing members: 0 Composing members: 0

5 Answers

Tropical_Willie's avatar

W A A A A Y too much time on your hands, is that a coincidence? ? ?

Blackberry's avatar

Yes, it’s a coincidence.

whitenoise's avatar

No.

I Think you are mistaken… There is no year 0.

From Wikipedia:
The Anno Domini (Latin for “in the year of the/our Lord”) system of numbering years, in which the leap year rules are written, and which is generally used together with the Gregorian calendar, is also known in English as the Common Era. Years before the beginning of the era are known in English as Before Christ, or Before the Common Era. The corresponding abbreviations AD, CE, BC, and BCE are used. There is no year 0; AD 1 immediately follows 1 BC.

LostInParadise's avatar

I know. That is why I said non-existent year 0.

I see now that my calculation won’t work for leap years. To make things work for all years, you can assume that the calendar started on Monday of the year 1, which is not nearly as convenient, although you could argue that it corresponds to having Monday as the first day of the week with Sunday being the Sabbath.

Dr_Lawrence's avatar

There is a computational algorithm that can do such computations. Therefore there is a specific relationship between the two calendars. It may not have been intentional and thus may be coincidental.

Answer this question

Login

or

Join

to answer.
Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther