Solutions
31 = 3, divided by 5 gives a remainder of 3.
32 = 9, divided by 5 gives a remainder of 4.
33 = 27, divided by 5 gives a remainder of 2.
34 = 81, divided by 5 gives a remainder of 1.
……
It is clear that the remainder lie between 1 to 4.
Therefore, this process repeats itself.
Now,
3(1+ 4n) ; remainder = 3
3(2+ 4n) ; remainder = 4
3(3+ 4n) ; remainder = 2
3(4+ 4n) ; remainder = 1
So, 398 = 32+4×24
(4 ×24 = 96)
It ends up being 2+96 = 98, so we have the equation
3(2 + 4n); remainder = 4
Thus, When the number 398 is divided by 5, the remainder will be 4.
Hence, option D is correct.