Finding the Remainder of a Large Exponential Expression Modulo 8 · Number Theory | Problems