![2M9CJ0J 1940s SCATTERED PAGES FROM A ONE DAY AT A TIME FLIP DESK CALENDAR NUMBERS DAYS OF WEEK PATTERN PAPER TEXTURE - s10448 HAR001 HARS REPRESENTATION](https://images.newscientist.com/wp-content/uploads/2024/12/23130707/SEI_233459845.jpg)
This mathematical trick will let you work out the weekday of any date
H. Armstrong Roberts/ClassicStock/Alamy
Time comes in cycles, and we deal with it using a cyclic number system. What time is 5 hours after 10pm? Hopefully you would say 3am, not 15pm. You know 10 + 5 isn’t 3, but you also know to reset to zero when you hit 12. In mathematical terms, this is called modular arithmetic: we divide 15 by 12 and keep the remainder. We write this as 10 + 5 = 3 modulo 12.
Modular arithmetic has many applications, from cryptography to magic tricks. There is…
Leave a Comment