The last four!

Find the last four digits of 3 1000 { 3 }^{ 1000 } .

Add 1000 to your answer. What do you get?


The answer is 1001.

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

Melissa Quail
Sep 12, 2015

Euler's Theorem states that:

a ϕ ( n ) 1 a^{\phi(n)} \equiv 1 (mod n n ) if a and n are coprime.

ϕ ( n ) \phi(n) is equal to the number of positive integers less than or equal to n that are coprime to n : Euler's totient function.

ϕ ( 2500 ) = 1000 \phi(2500) = 1000 so 3 1000 1 3^{1000} \equiv 1 (mod 2500) because 3 and 2500 are coprime.

Also, 3 1000 ( 3 2 ) 500 3^{1000} \equiv (3^2)^{500} (mod 8)

1 500 \equiv 1^{500} (mod 8)

1 \equiv 1 (mod 8). Now using Chinese Remainder Theorem, 3 1000 1 3^{1000} \equiv 1 (mod 20000) and therefore 3 1000 1 3^{1000} \equiv 1 (mod 10000) so the last four digits are 0001. Adding 1000 gives the answer: 1001 \boxed{1001} .

Can u plz explain with the help of binomial theorem

Om Agarwal - 4 years, 2 months ago
Muhammad Ardivan
Jul 2, 2015

3^1000= 1 mod 10000

*= means congruence

And add 100, so we get 1000+1= 1001

Moderator note:

This is not an answer. How did you get the value of 1 m o d 10000 1 \bmod{10000} in the first place?

Yes, but you need to show how we have 3^1000= 1 mod 10000 in your solution.

Hint: Euler's Theorem + Chinese Remainder Theorem.

Prasun Biswas - 5 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...