Question 883926
Focus only on the last units digit of 23


3 ---> 3^2 = 9


9*3 = 27


Now only focus on the 7 and multiply by 3: 7*3 = 21


Now only focus on the 1 and multiply by 3: 1*3 = 3


-------------------------------------------------------


We have this pattern of the digits: 3, 9, 7, 1


and it repeats over and over


It repeats every 4 times. So because 294/4 = 73 remainder 2, this means that the last digit of 23^294 is 9


9/5 = 1 remainder <font color="red">4</font>


So the remainder is <font color="red">4</font>