Find the last three digits of 5 5 5 5 .
(Enter as a three-digit number, hundreds place first.)
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.
Sure.
We only need to take a look at the last 3 digits of any given number since the 4th digit on will alter only the 4th digit and on. Since we started with 5 and always multiply by 5 , we can see the last digit is always 5 . Now the second number is 2 5 .
Multiplying by 5 gives us 2 5 ∗ 5 = 2 0 ∗ 5 + 5 ∗ 5 = 1 0 0 + 2 5 = 1 2 5 .
The reason for the expanded way is to show that the 2 0 part doesn't interfere with the last 2 digits, meaning the last 2 digits will always be 2 5 (since only 5 ∗ 5 effects the them). Now that we have established that the last 2 digits are always 2 5 , we look at to what effects the 3rd digit.
1 2 5 ∗ 5 = 1 0 0 ∗ 5 + 2 5 ∗ 5 = 5 0 0 + 1 2 5 = 6 2 5 . No conclusion at this point
6 2 5 ∗ 5 = 6 0 0 ∗ 5 + 2 5 ∗ 5 = 3 0 0 0 + 1 2 5 = 3 1 2 5 m o d 1 0 0 0 = 1 2 5 . When the digit is 6 , only the last 2 digits effect the 3 (since 6 ∗ 5 = 3 0 ). And since 2 5 is always present in the last 2 digits, 1 2 5 will always be present in the number. And when the number ends in 1 2 5 we have already seen that 1 2 5 ∗ 5 = 6 2 5 .
This shows that the last 3 digits alternate between 1 2 5 and 6 2 5 . Since 1 2 5 appears at the 3rd power, and 6 2 5 at the 4th power, alternating will show that all odd powers end in 1 2 5 and all even powers end in 6 2 5 .
Does that work as a proof? I don't have a fancy way of showing it other than a logic walkthrough. Please correct anything you find error or fallible.
You're very close to what I had in mind - could you prove that the pattern continues (you just say it "seems to be")?
Can you incorporate this into the answer? (It doesn't need to be everything you just wrote, since you've got your thought process too, but pulling out enough that it's clear the only thing affecting the next three digits are the previous three digits.)
Added to the answer in a more concise manner
We have that 5 5 = 3 1 2 5 , which is congruent to 1 2 5 m o d 1 0 0 0 . Now we need 1 2 5 3 1 2 5 m o d 1 0 0 0 , which is congruent to ( 1 2 5 4 ) 5 ∗ 1 2 5 m o d 1 0 0 0 . 1 2 5 4 = 2 4 4 1 4 0 6 2 5 , which is then congruent to 6 2 5 m o d 1 0 0 0 . Then we have 6 2 5 5 ∗ 1 2 5 m o d 1 0 0 0 , again is congruent to ( 6 2 5 2 ) 2 ∗ 6 2 5 ∗ 1 2 5 m o d 1 0 0 0 . 6 2 5 2 is congruent to 6 2 5 m o d 1 0 0 0 . Then we finally need to solve 6 2 5 ∗ 1 2 5 m o d 1 0 0 0 , which is 7 8 1 2 5 m o d 1 0 0 0 . It is then evident that the last three digits is "125". This method uses the fact that representatives of a single equivalence class of the integers modulo n are equivalent when doing computations in the quotient group Z/nZ.
5^5^5^5 = 10^10^2184.125722088846 = ....203125
Problem Loading...
Note Loading...
Set Loading...
Lets take a look at the first few powers of 5 m o d 1 0 0 0 to establish its pattern.
0 0 5 , 0 2 5 , 1 2 5 , 6 2 5 , … 1 2 5 , … 6 2 5 , … 1 2 5 , … 6 2 5 , …
We are only looking at the last 3 digits because the smallest 4 digit number 1 0 0 0 ∗ 5 = 5 0 0 0 m o d 1 0 0 0 = 0 . Meaning no digit 4 or more can affect the last 3 digits.
Checking what happens after 6 2 5 , 6 2 5 ∗ 5 = 3 1 2 5 m o d 1 0 0 0 = 1 2 5 . Meaning every number following a … 6 2 5 will always end in 1 2 5 . And we can see that 1 2 5 ∗ 5 = 6 2 5 follows the same logic.
Since the ending digits always alternate between 1 2 5 and 6 2 5 , we just need to establish the pattern. Since 1 2 5 happens on the 3rd power, and 6 2 5 appears on the 4th power, and these endings always alternate, ignoring 5 1 and 5 2 , the pattern is odd powers end in 1 2 5 and even powers end in 6 2 5 .
So, since all powers of 5 are odd, this "simplifies" to 5 o d d meaning it ends in 1 2 5 .