Modular Addition and Subtraction
I apologize if this is not posted in the correct forum...
Is it possible for January 1 and May 6 of the same year to fall on the same day of the week?
I feel like this problem can be solved using mod 7 multiplication or addition. I just don't know how to go about setting it up...
Re: Modular Addition and Subtraction
Quote:
Originally Posted by
thamathkid1729
I apologize if this is not posted in the correct forum...
Is it possible for January 1 and May 6 of the same year to fall on the same day of the week?
I feel like this problem can be solved using mod 7 multiplication or addition. I just don't know how to go about setting it up...
Find the number of days January first and May sixth are apart, and conclude based on whether this is divisble by seven or not.
Re: Modular Addition and Subtraction
one thing to remember is that January 1 and may 6 are not always the same numbers of days apart...there are 2 cases to check.
Re: Modular Addition and Subtraction
Quote:
Originally Posted by
Deveno
one thing to remember is that January 1 and may 6 are not always the same numbers of days apart...there are 2 cases to check.
Oh, well alright. It doesn't matter, they're all equivalent anyways...modulo the appropriate excuse.