Math in Christmas: The Present and the Future

For December 25, 2016, the day of the week is d present d_{\text{present}} .

For December 25, 6102, the day of the week is d future d_{\text{future}} .

If each type of days is denoted by the following:

  • 2 = Sunday 2 = \text{Sunday}
  • 3 = Monday 3 = \text{Monday}
  • 5 = Tuesday 5 = \text{Tuesday}
  • 7 = Wednesday 7 = \text{Wednesday}
  • 11 = Thursday 11 = \text{Thursday}
  • 13 = Friday 13 = \text{Friday}
  • 17 = Saturday 17 = \text{Saturday}

What is d present d future \left|d_{\text{present}} - d_{\text{future}}\right| ? Try not to use the calendar to work this problem out!

Note: The calendar is Gregorian.

3 9 5 11 15 0 1

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Michael Huang
Dec 7, 2016

For this problem, we use Zeller's congruence to determine the days of the week. According to Wikipedia, for Gregorian calendar, the formula to use is h = ( q + 13 ( m + 1 ) 5 + K + K 4 + J 4 2 J ) m o d 7 h = \left(q + \left\lceil \dfrac{13(m + 1)}{5}\right\rceil + K + \left\lceil \dfrac{K}{4}\right\rceil + \left\lceil \dfrac{J}{4}\right\rceil - 2J\right) \bmod 7 where

  • h h is the day of the week, where 0 = Saturday , 1 = Sunday , , 6 = Friday 0 = \text{Saturday}, 1 = \text{Sunday}, \cdots, 6 = \text{Friday}
  • q q is the day of the month; here, q = 25 q = 25
  • m m is the month; since the month is December, m = 12 m = 12
  • K K is the year of the century, which is year m o d 100 \text{year }\bmod 100
  • J J is the zero-based century, which is year / 100 \lfloor \text{year}/100\rfloor

For 2016, K = 16 K = 16 and J = 20 J = 20 . Zeller's congruence shows that h = 1 h = 1 , which implies d present = 2 d_{\text{present}} = 2 .

For 6102, K = 2 K = 2 and J = 61 J = 61 . Then, h = 2 h = 2 , which implies d future = 3 d_{\text{future}} = 3 .

Thus, d present d past = 1 \left|d_{\text{present}} - d_{\text{past}}\right| = \boxed{1} .

How do know need to use Zeller's congruencr?

梦 叶 - 4 years, 6 months ago

Log in to reply

Zeller's congruence can be used to easily determine certain day of the month or day of the week. Determining the unidentified year is difficult because of the floor functions that makes the problem tricky to solve.

You can also work the problem out by taking the current date and determining the time length in days. Then, apply modular arithmetic.

Michael Huang - 4 years, 6 months ago
Saya Suka
Dec 8, 2016

Because non-leap year have 365 days in one, the next New Year's day will be the day after the current (non-leap) year due to 365 = 1 mod 7. But remember that we also have leap years once every four years, and the exception for leap year that happens every 100 years (except for those divisible by 400).
Difference in days (mod 7)
= (6102-2016) + [(6102-2016)/4] - [(6102-2001)/100] + [(6102-2001)/400]
= (4086 + 1021 - 41 + 10) mod 7
= 5076 mod 7
= 1 mod 7
So the future's Xmas will come on the next day of our present one. Even when we know nothing about what days they are, the multiple choices which lack any other even number beside 0 is a big give away. Now we know our current Xmas will fall on a Sunday, the only even (prime) number in the index, and since we already know the next day will be the future Xmas, the answer is 3-2=1.


0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...