Use a binomial expansion to calculate the remainder when a large power is divided by a given number.
Use Binomial Theorem to find the remainder when a number to some large exponent is divided by a number.