Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

#1 2013-03-25 23:32:13

ShivamS
Super Member

Offline

Calculating day of the week

I recently saw videos of Arthur Benjaman (the "Mathemagician") and saw him calculate day of the week in 3 seconds given the date and month. I checked out Zeller's congruence and then found an algorithm which isextremely simple.
http://www.gregmiller.net/astro/dow.html


I have discovered a truly marvellous signature, which this margin is too narrow to contain. -Fermat
Give me a lever long enough and a fulcrum on which to place it, and I shall move the world. -Archimedes
Young man, in mathematics you don't understand things. You just get used to them. - Neumann
 

Board footer

Powered by FluxBB