Number Theory

Find the last 3 digits in the number

5 5 5 5 5 . \Large 5^{5^{5^{5^5}}} .


The answer is 125.

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.

1 solution

Christopher Ho
Mar 18, 2017

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 1000 = 5 5^{1} mod 1000 =5

5 2 m o d 1000 = 25 5^{2} mod 1000 =25

5 3 m o d 1000 = 125 5^{3} mod 1000 =125

5 4 m o d 1000 = 625 5^{4} mod 1000 =625

5 5 m o d 1000 = 125 5^{5} mod 1000 =125

5 6 m o d 1000 = 625 5^{6} mod 1000 =625

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 5^{5^{5^{5}}} is going to end up being odd because it is simply 5 multiplied by itself 5 5 5 5^{5^{5}} times. Therefore, we know that the last three digits must be 125 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...