This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let's write out the first few terms and see if we can observe a pattern with the last three digits.
5 1 m o d 1 0 0 0 = 5
5 2 m o d 1 0 0 0 = 2 5
5 3 m o d 1 0 0 0 = 1 2 5
5 4 m o d 1 0 0 0 = 6 2 5
5 5 m o d 1 0 0 0 = 1 2 5
5 6 m o d 1 0 0 0 = 6 2 5
We observe that the last three digits for every odd value of n is 125 while the last three digits for every even value of n is 625. We then need to determine the parity of the initial value (Whether it is even or odd)
We know that any odd integer multiplied by any odd integer is going to have an odd parity, so 5 5 5 5 is going to end up being odd because it is simply 5 multiplied by itself 5 5 5 times. Therefore, we know that the last three digits must be 125 .