Techniques for calculating remainders in modular arithmetic (for humans) | Hacker News Reader