Saturday, November 14, 2009

Solving the Black Friday Problem

2 comments:

  1. Your method is very similar to mine. What you call remainder, I see it as the number of days next month's 1st day is "pushed" forward. I also tried to find out whether a period of 12 months could have 4 Black Fridays, but concluded that it was not possible. Can you explain to me how can that happen?
    Good job!

    ReplyDelete
  2. Hey Rong,

    First of all it was good to mention that the number of days between 13s is the number of the first month's days. It was also neat that you emphasized the remainder of days in a month is what matters.

    Your table was a great thing to have. Since we did this question, it is easier to follow, but for those who didn't do the question, an explanation of the table might be a good idea to have on the second column. But it's a great visual.

    Also it would be a good idea to explain how you got your max and min answers (perhaps by showing it through a line from your table and also explaining how the days could be interchangeable). It was great that you included leap years as well, but i think it would have been better if you made 2 tables, one for non-leap year and another for the leap year.

    I've been trying to figure out how you got 4 as your max and i think it's because of having the leap year in the same table. From what I gather, the circled numbers in each line correspond to the black firdays but I think you may have just counted both leap year and non-leap year calculations together.

    Great work though! I like how you even added a bit of number theory in it haha.

    ReplyDelete