Inspired by Chinmay Sangawadekar

Find the last four digits of 4312 5 501 . 43125^{501}.


Chinmay has deleted this problem because of a flaw in a solution... but it's a nice problem!


The answer is 3125.

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.

2 solutions

Otto Bretscher
Feb 17, 2016

Like Zee, I will try to explain this without (explicitly) using congruences. To save us a little time, we will let a = 3125 a=3125 throughout. We can ignore the first digit 4 in 43125 since it will not affect the last four digits of the power.

We will show that a 501 a a^{501}-a is divisible by 10000; that implies that the last four digits of a 501 a^{501} are a = 3125 a=\boxed{3125} . Since 10000 = 5 4 × 2 4 10000=5^4\times2^4 , it suffices to show that a 501 a a^{501}-a is divisible by both 5 4 = 625 5^4=625 and 2 4 = 16 2^4=16 .

We can factor b = a 501 a = a ( a 125 1 ) ( a 125 + 1 ) ( a 250 + 1 ) b=a^{501}-a=a(a^{125}-1)(a^{125}+1)(a^{250}+1) . Now b b is divisible by 5 4 5^4 since a = 3125 = 5 5 a=3125=5^5 . Also, b b is divisible by 16 since three of the factors are even and one (either a 125 + 1 a^{125}+1 or a 125 1 a^{125}-1 ) is divisible by 4.

Nice one ! I forgot to see the cases in my earlier congruence :P

A Former Brilliant Member - 5 years, 3 months ago

Why did you do cases a 125 + 1 = ( 3125 ) 125 + 1 ( 1 ) 125 + 1 2 ( m o d 4 ) a^{125} + 1 = (3125)^{125} + 1 \equiv (1)^{125} + 1 \equiv 2 \pmod{4}
The term divisible by 4 would a 125 1 a^{125}-1

A Former Brilliant Member - 5 years, 3 months ago

Log in to reply

No in the solution of my previous problem , The earlier congruence refers to the congruence which I used in the solution of my own question : Which was later disproved by I considered this congruence is true without any method :P

a 1 m o d n a\equiv 1\mod n and hence a p 1 m o d n p a^{p}\equiv 1\mod np which later I found is false .

A Former Brilliant Member - 5 years, 3 months ago

Since a 125 1 a^{125}-1 and a 125 + 1 a^{125}+1 are consecutive even integers, exactly one of them is divisible by 4; we don't need to know which. But you are right: It is trivial to find out.

Otto Bretscher - 5 years, 3 months ago

Log in to reply

Ah, that's what you meant. I just got a bit confused when you said either of them, and was thinking why you did that.

A Former Brilliant Member - 5 years, 3 months ago
Zee Ell
Feb 17, 2016

An elementary solution (without writing out congruences):

If we want to determine the last four digits of a(n integral) power (of an integer), we can do this in multiple steps, taking only the last for digits of our results into account at the next step. (This is easy to prove, by examining the last four digits (of m×n) of the (10000+m)×(10000+n) product in the m=n case, by induction.)

Now, 312 5 4 3125^4 = 95,367,640,625 , therefore we can calculate the last four digits of 312 5 20 3125^{20 } as the last four digits of ( 312 5 4 ) 5 (3125^4)^5 , which is the same as the last four digits of 62 5 5 625^5 . We will get 0625 again, since 312 5 4 = 62 5 5 = 5 20 3125^4=625^5=5^{20} .

Putting it to the 5th power twice more, we will find, that that the last four digits of both 312 5 100 3125^{100} and 312 5 500 3125^{500} are 0625.

The last step is to determine the the last four digits of 312 5 501 3125^{501} , which is the same as the last four digits of 625×3125=1,953,125. Therefore, our answer is 3125 \boxed {3125} .

Yes, this works! (+1)

Otto Bretscher - 5 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...