Re:Calculate the day of the week for any date in your head
by firethief on Thursday January 02, 2020 @11:57AM
(#21937053)
It's algebraically equivalent, but it's not the same procedure. The insight in Bumbledraven's Algorithm is that by factoring out an unconditionally-performed mod-4 step, the problem can be reduced to two cases.
[ Parent
| on HN ]
There are no comments on this comment yet.