you are viewing a single comment's thread
view the rest of the comments
[–] 47 points 2 years ago (11 children)

Well if the 1st is on Sunday then every month would have a Friday 13th.

  • source
  • hideshow 11 child comments
  • [–] 8 points 2 years ago (6 children)

    Did you know that the 13th day of the month is more likely to be a Friday than any of the other weekdays?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 16 points 2 years ago (5 children)

    I'm a nerd so I had to write code to check this out.

    https://pastebin.com/62kwesZz

    So from 1/1/1500 until 12/31/2023:

    Weekday counts: Monday: 898 Tuesday: 897 Wednesday: 901 Thursday: 896 Friday: 901 Saturday: 896 Sunday: 899

    No idea why, and other than a tie with Wednesday, this is indeed true. Well if my code is correct.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 3 points 2 years ago (2 children)

    Depends on the year you start, it is thrown off by leap years.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago

    I think your code is fine. The Gregorian Calendar actually runs on a 400-year cycle (i.e. the pattern caused by 7-day weeks, variable-length months and leap years repeats every 400 years) so if you re-ran the code against a 400-year period you'd get the correct ratios.

  • source
  • parent