mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2019-03-05, 23:54   #1
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

93616 Posts
Default Monday to Tuesday

This is really too simple for the puzzles section, but I think others might enjoy it.

My local gym has a monthly offering of "Pizza on the first Monday" and "Coffee and Bagels on the second Tuesday," These were consecutive days in January.

So how long is it, on average, from the first Monday to second Tuesday? How about the second Wednesday, Thursday, etc.?
wblipp is offline   Reply With Quote
Old 2019-03-06, 03:34   #2
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2·13·113 Posts
Default

1st monday to 2nd tuedays is 8 days except when the month starts with tuesday, then it is 1 day.
In the 28 years cycle when weekdays match the same dates compared to leap years (not counting the year%100 and year%400 issues) there are actually exactly 1/7th of the months that starts with tuesdays. So on average (6/7)*8 + (1/7)*1 = 7 days.


Why is it in the 28 years (336 months) cycle the 1st of the months falls on a monday exactly 48 times, tuesday 48 times, ..., and sunday 48 times, even though the length of the months switches in the weird pattern between 28,29,30 and 31 days long ?

Last fiddled with by ATH on 2019-03-06 at 14:32
ATH is offline   Reply With Quote
Old 2019-03-06, 13:17   #3
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

3·13·89 Posts
Default

This reminds me of the cumbersome phrasing specifying Election Day here in the good ol' USA, which <google google> dates back to 1845, when a law was enacted mandating (my emphasis)
Quote:
That the electors of President and Vice President shall be appointed in each State on the Tuesday next after the first Monday in the month of November of the year in which they are appointed
The first time I saw "first Tuesday after the first Monday" the effect on my mind was analogous to someone scraping their fingernails across a blackboard. "The Tuesday (next) after November 1" is much more shipshape.
Dr Sardonicus is offline   Reply With Quote
Old 2019-03-06, 14:42   #4
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

79·109 Posts
Default

Quote:
Originally Posted by Dr Sardonicus View Post
"The Tuesday (next) after November 1" is much more shipshape.
The "next" is needed to be absolutely specific that it is not any Tuesday, but a specific one. Lawyers be like that you know.
Uncwilly is offline   Reply With Quote
Old 2019-03-06, 15:02   #5
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

3×13×89 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
The "next" is needed to be absolutely specific that it is not any Tuesday, but a specific one. Lawyers be like that you know.
Yes, they be. The fact that "The" is a definite (rather than an indefinite) article doesn't mean -- at least, not in a legally binding sense -- that it specifies the first Tuesday after" or the Tuesday next after November 1.

In fairness to lawyers, though, the insistence on what would seem to most people to be an unnecessary degree of specificity, almost certainly means that it actually is necessary.

Last fiddled with by Dr Sardonicus on 2019-03-06 at 15:03 Reason: Brevity
Dr Sardonicus is offline   Reply With Quote
Old 2019-03-07, 22:12   #6
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

93616 Posts
Default

I agree with ATH's calculation of average time from First Monday to Second Tuesday. How much longer is it to Second Wednesday?
wblipp is offline   Reply With Quote
Old 2019-03-30, 06:24   #7
JeppeSN
 
JeppeSN's Avatar
 
"Jeppe"
Jan 2016
Denmark

5·31 Posts
Thumbs up

Quote:
Originally Posted by ATH View Post
Why is it in the 28 years (336 months) cycle the 1st of the months falls on a monday exactly 48 times, tuesday 48 times, ..., and sunday 48 times, even though the length of the months switches in the weird pattern between 28,29,30 and 31 days long ?
In the Julian calendar, the leap year pattern repeats after 4 years which is 1,461 days. Now, when you consider weekdays, with 7 days in each week, you have to consider whether or not 7 divides 1,461. It does not. Therefore, the "least common multiple" where both leap year pattern and week day pattern repeats, will be 7 times 4 years, or in other words 7 times 1,461 days (that is 10,227 days). 7 is a prime.

So you do each of the 7 possible starts of the 1,461-day cycle. So any particular date (like the 1st of January, the 13rd of February, or anything) falls equally frequently on any day of week.

Let us see what happens in the Gregorian calendar. If we ignore the weekdays at first, the Gregorian calendar repeats after 400 years. 400 years is 146,097 (the 97-part is the 97 leap days in 400 years) in that system. Now, you would presuppose that you needed 7 times that period, i.e. 2,800 years, before both leap year and day-of-week pattern repeated, but that is wrong. Because, by accident, 7 divides 146,097 (= 400*365 + 97). In the Gregorian system, 400 years is exactly 20,871 weeks. Because of this coincidence, we do not get every possible date/day-of-week combination in the "expected" frequency.

2001-Jan-01 was a Monday. 2401-Jan-01 will be a Monday. 2801-Jan-01, 3201-Jan-01, etc. are all Mondays.

/JeppeSN
JeppeSN is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Homework: Please Don't Delete Until Tuesday jinydu Soap Box 3 2007-05-21 11:27

All times are UTC. The time now is 07:44.

Fri Sep 25 07:44:53 UTC 2020 up 15 days, 4:55, 0 users, load averages: 0.92, 1.14, 1.31

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.