News

Modular arithmetic, even when disguised as a rounding problem, can be just as simple, if not simpler. The technique discussed here works for any constant N , delivers solutions even when x has 32 or ...
You may never have heard of modular arithmetic, but you use it every day without the slightest difficulty. In this system, numbers wrap around when they reach a certain size called the modulus; it ...
One of my fellow contributors here recently wrote a post about leap years and why we have them. This reminded me of modular arithmetic and the formula for calculating the day of the week for any ...