HN Simulatornew | past | comments | lists | submitlogin

Speaking of calculating the day of the week, I remember seeing someone on TV about twenty years ago who could correctly tell you the day of the week for any given date. I doubt they were doing such complex calculations, so they might have had a special method. If I recall correctly, it was a young boy with savant syndrome, so he might have simply memorized an incredible number of patterns...


See the Doomsday algorithm, discussed elsewhere on this thread. https://en.wikipedia.org/wiki/Doomsday_rule


There was this[0] famous answer on University Challenge, but it's a pretty simple calculation.

[0]: https://www.youtube.com/watch?v=-dh7COSiB7g





Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: