Calculate Remainders of Squares and Cubes Modulo Various Integers · Number Theory | Problems