Three methods for finding least positive residue in modular arithmetic | Hacker News Reader