FRIDAY
24th May 2013
Text only
Become a member
Sign in
Front Page
Help!
Feedback
Who is Online
This is the Conversation Forum for Calculating the Day of the Week
grrrr >>


Prev | Next
Subject: Negative totals
Posted Apr 5, 2009 by sidsred2004
Post: 1

The answer to the problem described on the 'grrr!' posting explained why I calculated correctly that December 31st 1999 was a Friday but I kept coming up with January 1st 2000 as a Monday. I forgot that the latter date was the first day of the thirteenth month of the last year of the previous century!

But then I tried March 1st 2000:

Century: -36
Year: 0
Month: 10
Day: 1

Total: -25

Remainder: -4 ... So the day was a Thursday, right?

Well, no. It was a Wednesday.

I then tried several other dates in 2000 and noticed that the total has to be a positive number to give an accurate prediction of the day of the week.

It appears that the remainder, when a negative number has to be subtracted from 7 to give the true answer. Is this correct?

Thanks, Mike


Write a reply to this Posting

Read the first reply to this Posting
Click here to register a complaint about this Posting

Prev | Next
Subject: Negative totals
Posted Apr 5, 2009 by Icy North
This is a reply to this Posting
Post: 2

Hi Mike,

Yes, it's conventional in number theory to say that -25 divided by seven is -4 remainder 3. I appreciate this won't be intuitive for everyone, so I'll think up an explanatory footnote.

Thanks for pointing this out!

Icy


Write a reply to this Posting

Read the first reply to this Posting
Click here to register a complaint about this Posting

Prev | Next
Subject: Negative totals
Posted Apr 9, 2009 by Icy North
This is a reply to this Posting
Post: 3

Forgot to say, the entry's been updated to clarify this.

Hope this is OK.

cheers Icy


Write a reply to this Posting

Read the first reply to this Posting
Click here to register a complaint about this Posting

Prev | Next
Subject: Negative totals
Posted Apr 22, 2009 by sidsred2004
This is a reply to this Posting
Post: 4

Thanks Icy,

I think this will help others like me whose maths education didn't run to Number Theory.

Mike


Write a reply to this Posting
Click here to register a complaint about this Posting



< Show Older | Show Newer >
1
Conversation list


© BBC MMII
Terms & Conditions | Privacy