https://numbas.mathcentre.ac.uk/question/46760/modulo-arithmetic-the-least-residue-of-a-given-number/embed/