When the base and the divisor are co-prime, you can directly apply the following to improve your speed:
1) Exponent Rule: In the base, write the remainder when base is divided by the divisor
2) Fermat's Theorem: In the power, write the remainder when the power is divided by the ϕ(divisor).
The remainder is unchanged when a multiple of the divisor is added to the dividend.
∴Rem(23(−27+46))=19
Answer: 19
5. Chinese Remainder
If the numerator and denominator are not co-prime, then Fermat's Little Theorem cannot be directly applied.
The following steps are then followed,
1) The divisor is prime factorised 2) The remainders when the number is divided by each of the prime factors (with their respective powers) is found. 3) The number is expressed in dq+r for the different divisors to find the common remainder.
Example 26
What is the remainder when 250340 is divided by 44?