Find the remainder of 5^400 when divided by 18.
I hope this is correct:
We can find a pattern of the remainers when powers of 5 are divided by 18. The pattern repeats after every 6 terms:
5
7
17
13
11
1
400 yields a remainder of 4 when divided by 6.
Therefore, the answer is 13.