when 5^678 is written as an integer its final four digits are

1 answer

Note that starting with n=5, the last 4 digits repeat in the pattern
3125, 5625, 8125, 0625
678 = 4 + 4*168 + 2
So, the last 4 digits will be 5625